mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Hidden Offships (#15544)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user