Suggestions

This commit is contained in:
r4d6
2019-12-21 14:55:37 -05:00
parent c5aef98252
commit 383e09651f
3 changed files with 6 additions and 9 deletions

View File

@@ -382,6 +382,9 @@ SUBSYSTEM_DEF(air)
CHECK_TICK
/datum/controller/subsystem/air/proc/setup_template_machinery(list/atmos_machines)
if(!initialized)
return
for(var/A in atmos_machines)
var/obj/machinery/atmospherics/AM = A
AM.atmosinit()
@@ -392,9 +395,6 @@ SUBSYSTEM_DEF(air)
AM.build_network()
CHECK_TICK
if(!initialized)
return
/datum/controller/subsystem/air/proc/get_init_dirs(type, dir)
if(!pipe_init_dirs_cache[type])
pipe_init_dirs_cache[type] = list()

View File

@@ -534,10 +534,8 @@ GLOBAL_LIST_EMPTY(the_station_areas)
var/list/station_room_templates = list()
/datum/controller/subsystem/mapping/proc/seedStation()
message_admins("Seeding Station")
for(var/V in GLOB.stationroom_landmarks)
var/obj/effect/landmark/stationroom/LM = V
LM.load()
message_admins("Station seeded")
if(GLOB.stationroom_landmarks.len)
seedStation() //I'm sure we can trust everyone not to insert a 1x1 rooms which loads a landmark which loads a landmark which loads a la...

View File

@@ -464,15 +464,14 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark/start/new_player)
var/datum/map_template/template = SSmapping.station_room_templates[template_name]
if(!template)
return FALSE
testing("Ruin \"[template_name]\" placed at ([T.x], [T.y], [T.z])")
testing("Room \"[template_name]\" placed at ([T.x], [T.y], [T.z])")
template.load(T, centered = FALSE)
template.loaded++
GLOB.stationroom_landmarks -= src
qdel(src)
message_admins("Stationroom loaded successfully")
return TRUE
// The landmark for the Engine
// The landmark for the Engine on Box
/obj/effect/landmark/stationroom/box/engine
template_names = list("Engine SM", "Engine Singulo", "Engine Tesla")