fix a whoops with INITIALIZE_IMMEDIATE

This commit is contained in:
spookerton
2022-10-17 17:12:25 +01:00
parent 120cc02d5d
commit 5c2b2804ce

View File

@@ -31,7 +31,7 @@
//type and all subtypes should always call Initialize in New()
#define INITIALIZE_IMMEDIATE(X) ##X/New(loc, ...){\
..();\
if(!initialized) {\
if(!(atom_flags & ATOM_INITIALIZED)) {\
args[1] = TRUE;\
SSatoms?.InitAtom(src, args);\
}\
@@ -110,4 +110,4 @@ var/global/list/runlevel_flags = list(RUNLEVEL_LOBBY, RUNLEVEL_SETUP, RUNLEVEL_G
#define FIRE_PRIORITY_PROJECTILES 150
#define FIRE_PRIORITY_CHAT 400
#define FIRE_PRIORITY_OVERLAYS 500
#define FIRE_PRIORITY_INPUT 1000 // This must always always be the max highest priority. Player input must never be lost.
#define FIRE_PRIORITY_INPUT 1000 // This must always always be the max highest priority. Player input must never be lost.