Merge pull request #8390 from Atermonera/dview_runtime_fix

Fixes runtime on server start: SSAtoms doesn't exist yet
This commit is contained in:
Atermonera
2022-02-07 18:00:43 -08:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -33,7 +33,7 @@
..();\
if(!initialized) {\
args[1] = TRUE;\
SSatoms.InitAtom(src, args);\
SSatoms?.InitAtom(src, args);\
}\
}

View File

@@ -1260,7 +1260,6 @@ var/mob/dview/dview_mob = new
color = origin.color
set_light(origin.light_range, origin.light_power, origin.light_color)
INITIALIZE_IMMEDIATE(/mob/dview)
/mob/dview/Initialize()
. = ..()
// We don't want to be in any mob lists; we're a dummy not a mob.