mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Converts /mecha + extras to Initialize (#34985)
This commit is contained in:
@@ -546,7 +546,11 @@
|
||||
plane = SPLASHSCREEN_PLANE
|
||||
var/client/holder
|
||||
|
||||
/obj/screen/splash/New(client/C, visible, use_previous_title) //TODO: Make this use INITIALIZE_IMMEDIATE
|
||||
INITIALIZE_IMMEDIATE(/obj/screen/splash)
|
||||
|
||||
/obj/screen/splash/Initialize(client/C, visible, use_previous_title)
|
||||
. = ..()
|
||||
|
||||
holder = C
|
||||
|
||||
if(!visible)
|
||||
@@ -563,8 +567,6 @@
|
||||
|
||||
holder.screen += src
|
||||
|
||||
..()
|
||||
|
||||
/obj/screen/splash/proc/Fade(out, qdel_after = TRUE)
|
||||
if(QDELETED(src))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user