forked from rDrama/rDrama
1
0
Fork 0

dont play music in wpd for non logged in

master
Aevann 2022-12-30 15:59:36 +02:00
parent 8bf336eed0
commit 1495dbe5d4
1 changed files with 1 additions and 1 deletions

View File

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