Fixes slot issue

Fixes runtime with cryopods
This commit is contained in:
Heroman
2022-09-17 15:14:41 +10:00
parent 607d730743
commit c0728f0d18
18 changed files with 530 additions and 5 deletions
+3 -2
View File
@@ -8,9 +8,10 @@
var/falling_type = /obj/item/weapon/reagent_containers/food/snacks/sliceable/pizza/margherita
var/crushing = TRUE
/obj/effect/falling_effect/Initialize(mapload, type = /obj/item/weapon/reagent_containers/food/snacks/sliceable/pizza/margherita)
/obj/effect/falling_effect/Initialize(mapload, type)
..()
falling_type = type
if(type)
falling_type = type
return INITIALIZE_HINT_LATELOAD
/obj/effect/falling_effect/LateInitialize()