mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
* Hard Del Fixes, Ref Tracking Changes
This commit is contained in:
@@ -632,6 +632,9 @@ GLOBAL_LIST_EMPTY(colored_images)
|
||||
/datum/controller/subsystem/air/proc/start_processing_machine(obj/machinery/machine)
|
||||
if(machine.atmos_processing)
|
||||
return
|
||||
if(QDELETED(machine))
|
||||
stack_trace("We tried to add a garbage collecting machine to SSair. Don't")
|
||||
return
|
||||
machine.atmos_processing = TRUE
|
||||
atmos_machinery += machine
|
||||
|
||||
|
||||
@@ -372,7 +372,7 @@ SUBSYSTEM_DEF(garbage)
|
||||
#ifdef REFERENCE_TRACKING
|
||||
if (QDEL_HINT_FINDREFERENCE) //qdel will, if REFERENCE_TRACKING is enabled, display all references to this object, then queue the object for deletion.
|
||||
SSgarbage.Queue(D)
|
||||
D.find_references()
|
||||
D.find_references() //This breaks ci. Consider it insurance against somehow pring reftracking on accident
|
||||
if (QDEL_HINT_IFFAIL_FINDREFERENCE) //qdel will, if REFERENCE_TRACKING is enabled and the object fails to collect, display all references to this object.
|
||||
SSgarbage.Queue(D)
|
||||
SSgarbage.reference_find_on_fail["\ref[D]"] = TRUE
|
||||
|
||||
@@ -40,7 +40,8 @@ SUBSYSTEM_DEF(parallax)
|
||||
if(!istype(movable_eye))
|
||||
continue
|
||||
|
||||
for (movable_eye; isloc(movable_eye.loc) && !isturf(movable_eye.loc); movable_eye = movable_eye.loc);
|
||||
while(isloc(movable_eye.loc) && !isturf(movable_eye.loc))
|
||||
movable_eye = movable_eye.loc
|
||||
//get the last movable holding the mobs eye
|
||||
|
||||
if(movable_eye == processing_client.movingmob)
|
||||
|
||||
Reference in New Issue
Block a user