Skip to content

Commit

Permalink
[MIRROR] Fixes failure state indication message [MDB IGNORE] (#884)
Browse files Browse the repository at this point in the history
* Fixes failure state indication message (#79988)

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: oranges <[email protected]>
  • Loading branch information
3 people authored Nov 29, 2023
1 parent 0fca64b commit df87fe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/atoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion code/modules/unit_tests/create_and_destroy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()")

Expand Down

0 comments on commit df87fe3

Please sign in to comment.