forked from rDrama/rDrama
1
0
Fork 0

disable songs on WPD

master
Aevann1 2022-12-19 04:36:58 +02:00
parent 9452967fc0
commit aa7fa5279e
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{% if not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %}
{% if SITE_NAME != 'WPD' and not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %}
{% if not song %}
{% set path = "assets/media/event/music" %}
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %}