mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
return 1
|
||||
|
||||
/* Uncomment when all atoms init properly
|
||||
/datum/unit_test/subsystem_atom_shall_have_no_bad_init_calls
|
||||
name = "SUBSYSTEM - ATOMS: Shall have no bad init calls"
|
||||
|
||||
@@ -34,11 +35,12 @@
|
||||
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
|
||||
log_bad("Uninitialized atom: [atom.type] - [atom.log_info_line()]")
|
||||
if(!(atom.initialized))
|
||||
log_bad("Uninitialized atom: [atom.log_info_line()]")
|
||||
fail = TRUE
|
||||
if(fail)
|
||||
fail("There were uninitialized atoms.")
|
||||
else
|
||||
pass("All atoms were initialized")
|
||||
return 1
|
||||
*/
|
||||
Reference in New Issue
Block a user