Fixes Explosions (#12539)

This commit is contained in:
Fox McCloud
2019-10-09 09:58:27 -04:00
committed by variableundefined
parent 756c59f43e
commit 39cc83501b
2 changed files with 19 additions and 1 deletions
+12
View File
@@ -346,8 +346,20 @@
/obj/machinery/sleeper/ex_act(severity)
if(filtering)
toggle_filter()
if(occupant)
occupant.ex_act(severity)
..()
/obj/machinery/sleeper/handle_atom_del(atom/A)
..()
if(A == occupant)
occupant = null
updateUsrDialog()
update_icon()
if(A == beaker)
beaker = null
updateUsrDialog()
/obj/machinery/sleeper/emp_act(severity)
if(filtering)
toggle_filter()
@@ -566,4 +566,10 @@
..()
/obj/item/storage/AllowDrop()
return TRUE
return TRUE
/obj/item/storage/ex_act(severity)
for(var/atom/A in contents)
A.ex_act(severity)
CHECK_TICK
..()