Hidden Offships (#15544)

This commit is contained in:
Geeves
2023-02-12 18:57:37 +01:00
committed by GitHub
parent 5cad93c74f
commit 3b1aa2b159
30 changed files with 61 additions and 15 deletions
+7
View File
@@ -167,6 +167,13 @@
if(welcome_message)
to_chat(user, SPAN_NOTICE(welcome_message))
universe.OnPlayerLatejoin(user)
if(current_map.use_overmap)
var/obj/effect/overmap/visitable/sector = map_sectors["[user.z]"]
if(sector?.invisible_until_ghostrole_spawn)
sector.x = sector.start_x
sector.y = sector.start_y
sector.z = current_map.overmap_z
sector.invisible_until_ghostrole_spawn = FALSE
return TRUE
//Proc to check if a specific user can edit this spawner (open/close/...)
@@ -177,10 +177,6 @@
return M
//Proc executed after someone is spawned in
/datum/ghostspawner/human/post_spawn(mob/user)
. = ..()
/// Used for cryo to free up a slot when a ghost cryos.
/mob/living/carbon/human
var/datum/weakref/ghost_spawner