dont tie event music with poor mode, since theres always gonna be a toggle now

pull/215/head
Aevann 2023-10-07 23:04:23 +03:00
parent e2d9561ae8
commit 77b2794e94
2 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{% if SITE_NAME != 'WPD' and not (v and v.poor) 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 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)) %}
{% set path = "assets/events/" ~ IS_EVENT() ~ "/music" %}
{% set song = SITE_FULL ~ "/" ~ path ~ "/" ~ listdir('files/'~path)|random() ~ '?x=45' %}
<input hidden id="event-song" value="{{song}}">

View File

@ -22,9 +22,6 @@
<li><small>Disables the effects of cosmetic awards.</small></li>
<li><small>Hides signatures.</small></li>
<li><small>Makes emoji search only start when you press Enter.</small></li>
{% if SITE_NAME == 'rDrama' %}
<li><small>Disables event music.</small></li>
{% endif %}
</ul>
</div>
</div>