Finish Machinery new to init (#17334)

* Finish Machinery new to init

* fix that

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-03-16 03:57:48 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent f362f6585f
commit 4d36cfdaeb
116 changed files with 486 additions and 528 deletions
+7 -4
View File
@@ -707,17 +707,20 @@
plane = PLANE_PLAYER_HUD_ABOVE
var/client/holder
/obj/screen/splash/New(client/C, visible)
INITIALIZE_IMMEDIATE(/obj/screen/splash)
/obj/screen/splash/Initialize(mapload, visible)
. = ..()
holder = C
if(!isclient(loc))
return INITIALIZE_HINT_QDEL
holder = loc
if(!visible)
alpha = 0
if(!lobby_image)
qdel(src)
return
return INITIALIZE_HINT_QDEL
icon = lobby_image.icon
icon_state = lobby_image.icon_state