mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Fixes failure state indication message (#79988)
This is actually determining if the item was deleted before it had a chance to Initialize.
This commit is contained in:
@@ -183,7 +183,7 @@ SUBSYSTEM_DEF(atoms)
|
||||
if(fails & BAD_INIT_NO_HINT)
|
||||
. += "- Didn't return an Initialize hint\n"
|
||||
if(fails & BAD_INIT_QDEL_BEFORE)
|
||||
. += "- Qdel'd in New()\n"
|
||||
. += "- Qdel'd before Initialize proc ran\n"
|
||||
if(fails & BAD_INIT_SLEPT)
|
||||
. += "- Slept during Initialize()\n"
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ GLOBAL_VAR_INIT(running_create_and_destroy, FALSE)
|
||||
if(fails & BAD_INIT_NO_HINT)
|
||||
TEST_FAIL("[path] didn't return an Initialize hint")
|
||||
if(fails & BAD_INIT_QDEL_BEFORE)
|
||||
TEST_FAIL("[path] qdel'd in New()")
|
||||
TEST_FAIL("[path] qdel'd before we could call Initialize()")
|
||||
if(fails & BAD_INIT_SLEPT)
|
||||
TEST_FAIL("[path] slept during Initialize()")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user