mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-28 23:58:31 +01:00
null guard qdel, better log_info_line behavior
gentle qdel refactor for readability adds ref_name and ref_type to weakref improves /proc/weakref initial test corrects weakref GC hint
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
var/fail = FALSE
|
||||
for(var/atom/atom in world)
|
||||
if(!atom.initialized && !QDELETED(atom)) // Not ideal to skip over qdeleted atoms, but a lot of current code uses pre-init qdels
|
||||
log_bad("Uninitialized atom: [atom.type] - [atom.log_info_line()]")
|
||||
log_bad("Uninitialized atom: [atom.type] - [atom.get_log_info_line()]")
|
||||
fail = TRUE
|
||||
if(fail)
|
||||
fail("There were uninitialized atoms.")
|
||||
|
||||
Reference in New Issue
Block a user