mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-23 13:17:03 +01:00
replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags corrects various misapplied flags
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
set background = TRUE // avoid infinite loop warning; SS will still wait for us.
|
||||
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
|
||||
if(!QDELETED(atom) && !(atom.atom_flags & ATOM_INITIALIZED)) // Not ideal to skip over qdeleted atoms, but a lot of current code uses pre-init qdels
|
||||
log_bad("Uninitialized atom: [atom.type] - [atom.get_log_info_line()]")
|
||||
fail = TRUE
|
||||
if(fail)
|
||||
|
||||
Reference in New Issue
Block a user