mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Merge pull request #14521 from KorPhaeron/sleeper
Fixes sleepers deleting people when destroyed
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user