[MIRROR] Fix halloweens races [MDB IGNORE] (#17270)

* Fix halloweens races

* update modular

* Apply suggestions from code review

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-10-31 18:00:11 +00:00
committed by GitHub
co-authored by MrMelbert Tom
parent 8bb732a766
commit 4741dc4ac9
39 changed files with 118 additions and 93 deletions
+1 -1
View File
@@ -261,7 +261,7 @@
/obj/item/mod/module/springlock/bite_of_87/on_suit_activation()
..()
if(SSevents.holidays && SSevents.holidays[APRIL_FOOLS] || prob(1))
if(check_holidays(APRIL_FOOLS) || prob(1))
mod.set_mod_color("#b17f00")
mod.wearer.remove_atom_colour(WASHABLE_COLOUR_PRIORITY) // turns purple guy purple
mod.wearer.add_atom_colour("#704b96", FIXED_COLOUR_PRIORITY)