mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Cryoing now won't cause items to try and remove themselves from deleted storages. Runtime fix (#17665)
This commit is contained in:
@@ -167,7 +167,8 @@ GLOBAL_DATUM_INIT(fire_overlay, /image, image("icon" = 'icons/goonstation/effect
|
||||
m.unEquip(src, 1)
|
||||
else if(istype(loc, /obj/item/storage))
|
||||
var/obj/item/storage/S = loc
|
||||
S.remove_from_storage(src)
|
||||
if(!QDELETED(S)) // Can happen when the storage gets deleted, thus deleting the contents
|
||||
S.remove_from_storage(src) // Not required to call. Will only cause runtimes
|
||||
QDEL_LIST(actions)
|
||||
master = null
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user