forked from rDrama/rDrama
9 lines
352 B
HTML
9 lines
352 B
HTML
{% if not (v and v.poor) and not (sub and sub.name == 'music') %}
|
|
{% if not song %}
|
|
{% set path = "assets/events/DKD/music" %}
|
|
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=6' %}
|
|
<input hidden id="DKD-song" value="{{song}}">
|
|
{% endif %}
|
|
<script defer src="{{'events/DKD/js/music.js' | asset}}"></script>
|
|
{% endif %}
|