mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Port of @PsiOmegaDelta's Baystation12/Baystation12#16820
Ports tg's garbage collector subsystem and Destroy() returning qdel hints.
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
|
||||
check_failure()
|
||||
set_opacity(1)
|
||||
spawn(20) if(!deleted(src)) set_opacity(0)
|
||||
spawn(20) if(!QDELETED(src)) set_opacity(0)
|
||||
|
||||
..()
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
..()
|
||||
check_failure()
|
||||
set_opacity(1)
|
||||
spawn(20) if(!deleted(src)) set_opacity(0)
|
||||
spawn(20) if(!QDELETED(src)) set_opacity(0)
|
||||
|
||||
/obj/machinery/shield/ex_act(severity)
|
||||
switch(severity)
|
||||
@@ -114,7 +114,7 @@
|
||||
|
||||
//The shield becomes dense to absorb the blow.. purely asthetic.
|
||||
set_opacity(1)
|
||||
spawn(20) if(!deleted(src)) set_opacity(0)
|
||||
spawn(20) if(!QDELETED(src)) set_opacity(0)
|
||||
|
||||
..()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user