Fixes a runtime in proximity_monitor/Destroy, turns QDEL_LIST -> QDEL_LAZYLIST (#59201)

This commit is contained in:
LemonInTheDark
2021-05-20 21:51:42 -07:00
committed by GitHub
parent 2f0d644151
commit ac122ee078
+2 -2
View File
@@ -32,7 +32,7 @@
host = null
last_host_loc = null
hasprox_receiver = null
QDEL_LIST(checkers)
QDEL_LAZYLIST(checkers)
return ..()
/datum/proximity_monitor/proc/HandleMove()
@@ -69,7 +69,7 @@
if(old_checkers_len)
pc = checkers_local[old_checkers_len]
--checkers_local.len
QDEL_LIST(checkers_local)
QDEL_LAZYLIST(checkers_local)
else
pc = new(loc_to_use, src)