mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
new to init (the rest of them) part 1 (#17052)
This commit is contained in:
@@ -268,12 +268,15 @@ var/global/list/obj/item/communicator/all_communicators = list()
|
||||
// Parameters: None
|
||||
// Description: Gives ghosts an exonet address based on their key and ghost name.
|
||||
/mob/observer/dead/Initialize()
|
||||
. = ..()
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/mob/observer/dead/LateInitialize()
|
||||
exonet = new(src)
|
||||
if(client)
|
||||
exonet.make_address("communicator-[src.client]-[src.client.prefs.real_name]")
|
||||
exonet.make_address("communicator-[client]-[client.prefs.real_name]")
|
||||
else
|
||||
exonet.make_address("communicator-[key]-[src.real_name]")
|
||||
exonet.make_address("communicator-[key]-[real_name]")
|
||||
|
||||
// Proc: Destroy()
|
||||
// Parameters: None
|
||||
|
||||
@@ -55,4 +55,7 @@
|
||||
/obj/structure/ghost_pod/ghost_activated/Initialize(var/mapload)
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
ghostpod_startup(spawn_active)
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/obj/structure/ghost_pod/LateInitialize()
|
||||
ghostpod_startup(spawn_active)
|
||||
|
||||
Reference in New Issue
Block a user