Converts /mecha + extras to Initialize (#34985)

This commit is contained in:
Jordan Brown
2018-01-30 10:45:28 -05:00
committed by Leo
parent 41950e2ad9
commit abf3f76df0
27 changed files with 107 additions and 112 deletions

View File

@@ -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