Change select holiday names to #defines

This commit is contained in:
MrPerson
2015-03-25 15:01:06 -07:00
parent 9910cf3fe3
commit ce13faed09
11 changed files with 30 additions and 21 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ var/sound/admin_sound
log_admin("[key_name(src)] played sound [S]")
message_admins("[key_name_admin(src)] played sound [S]")
if(SSevent.holidays["April Fool's Day"])
if(SSevent.holidays && SSevent.holidays[APRIL_FOOLS])
admin_sound.frequency = pick(0.5, 0.7, 0.8, 0.85, 0.9, 0.95, 1.1, 1.2, 1.4, 1.6, 2.0, 2.5)
src << "You feel the Honkmother messing with your song..."