Hidden Offships (#15544)

This commit is contained in:
Geeves
2023-02-12 19:57:37 +02:00
committed by GitHub
parent 5cad93c74f
commit 3b1aa2b159
30 changed files with 61 additions and 15 deletions
+4 -1
View File
@@ -50,6 +50,8 @@ var/global/area/overmap/map_overmap // Global object used to locate the overmap
/// null | num | list. If a num or a (num, num) list, the radius or random bounds for placing this sector near the main map's overmap icon.
var/list/place_near_main
var/invisible_until_ghostrole_spawn = FALSE
/obj/effect/overmap/visitable/Initialize()
. = ..()
if(. == INITIALIZE_HINT_QDEL)
@@ -77,7 +79,8 @@ var/global/area/overmap/map_overmap // Global object used to locate the overmap
start_y = start_y || rand(map_low, map_high)
home = locate(start_x, start_y, current_map.overmap_z)
forceMove(home)
if(!invisible_until_ghostrole_spawn)
forceMove(home)
update_name()