Refactor consoles to operate on logically adjacent zlevels

This commit is contained in:
Aronai Sieyes
2020-04-10 19:50:55 -04:00
parent 8e0b24bc70
commit 98dd3707c1
14 changed files with 104 additions and 40 deletions

View File

@@ -15,6 +15,12 @@
return access_research
if(NETWORK_ERT)
return access_cent_specops
//VOREStation Add Start
if(NETWORK_TALON_SHIP)
return access_talon
if(NETWORK_TALON_HELMETS)
return access_talon
//VOREStation Add End
if(network in using_map.station_networks)
return access_security // Default for all other station networks
@@ -62,8 +68,10 @@
data["networks"] = all_networks
var/list/map_levels = using_map.get_map_levels(get_z(nano_host()), TRUE)
if(current_network)
data["cameras"] = camera_repository.cameras_in_network(current_network)
data["cameras"] = camera_repository.cameras_in_network(current_network, map_levels)
ui = SSnanoui.try_update_ui(user, src, ui_key, ui, data, force_open)
if (!ui)