Ensure computers work on centcom or when only one zlevel is accessible.

This commit is contained in:
Leshana
2017-05-21 22:54:42 -04:00
parent 4adbb14de3
commit d41f6cce04
6 changed files with 8 additions and 6 deletions
@@ -33,6 +33,8 @@
ui.add_template("mapContent", "crew_monitor_map_content.tmpl")
// adding a template with the key "mapHeader" replaces the map header content
ui.add_template("mapHeader", "crew_monitor_map_header.tmpl")
if(!(ui.map_z_level in data["map_levels"]))
ui.set_map_z_level(data["map_levels"][1])
ui.set_initial_data(data)
ui.open()