mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
Fixes runtime with cryopods
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user