mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
Runtime fixes (#2017)
changes: Added more QDELETED checks to organ processing. Fixed some misc runtimes in lighting & sparks.
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
|
||||
//processing internal organs is pretty cheap, do that first.
|
||||
for(var/obj/item/organ/I in internal_organs)
|
||||
if (QDELETED(I))
|
||||
log_debug("Organ [DEBUG_REF(src)] was not properly removed from its parent!")
|
||||
internal_organs -= I
|
||||
continue
|
||||
|
||||
I.process()
|
||||
|
||||
handle_stance()
|
||||
|
||||
Reference in New Issue
Block a user