Merge pull request #14521 from KorPhaeron/sleeper

Fixes sleepers deleting people when destroyed
This commit is contained in:
tkdrg
2016-01-09 17:00:38 -03:00
+4 -4
View File
@@ -36,6 +36,10 @@
component_parts += new /obj/item/stack/cable_coil(null, 1)
RefreshParts()
/obj/machinery/sleeper/Destroy()
go_out()
. = ..()
/obj/machinery/sleeper/RefreshParts()
var/E
var/I
@@ -83,10 +87,6 @@
default_deconstruction_crowbar(I)
/obj/machinery/sleeper/ex_act(severity, target)
go_out()
..()
/obj/machinery/sleeper/emp_act(severity)
if(stat & (BROKEN|NOPOWER))
..(severity)