From 9ba2088472c8efd1b361239ebce90e18e21eb006 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 7 Oct 2023 23:06:25 +0300 Subject: [PATCH] allow wpdcels to opt into event music --- files/templates/events/shared/music.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/events/shared/music.html b/files/templates/events/shared/music.html index 6f58b7b7f..f53d98701 100644 --- a/files/templates/events/shared/music.html +++ b/files/templates/events/shared/music.html @@ -1,4 +1,4 @@ -{% if SITE_NAME != 'WPD' and (not v or v.event_music) and not (hole and hole.name == 'music') and not (IS_HOMOWEEN() and p and p.award_count("haunt", v)) %} +{% if not (SITE_NAME == 'WPD' and not v) and (not v or v.event_music) and not (hole and hole.name == 'music') and not (IS_HOMOWEEN() and p and p.award_count("haunt", v)) %} {% set path = "assets/events/" ~ IS_EVENT() ~ "/music" %} {% set song = SITE_FULL ~ "/" ~ path ~ "/" ~ listdir('files/'~path)|random() ~ '?x=45' %}