Merge pull request #10476 from Citinited/ho-ho-oh-no

Fixes snow machines being unorderable at roundstart
This commit is contained in:
variableundefined
2018-12-19 18:26:02 +08:00
committed by GitHub
+4 -2
View File
@@ -6,8 +6,10 @@
new /obj/item/a_gift(T)
for(var/mob/living/simple_animal/pet/corgi/Ian/Ian in GLOB.mob_list)
Ian.place_on_head(new /obj/item/clothing/head/helmet/space/santahat(Ian))
var/datum/supply_packs/xmas = SSshuttle.supply_packs["[/datum/supply_packs/misc/snow_machine]"] //Snow!
xmas.special_enabled = TRUE
//The following spawn is necessary as both the timer and the shuttle systems initialise after the events system does, so we can't add stuff to the shuttle system as it doesn't exist yet and we can't use a timer
spawn(60 SECONDS)
var/datum/supply_packs/xmas = SSshuttle.supply_packs["[/datum/supply_packs/misc/snow_machine]"]
xmas.special_enabled = TRUE
/datum/holiday/xmas/handle_event()
spawnTree()