mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 21:06:55 +01:00
runtime maploading: fifth time is the charm (#5524)
Co-authored-by: VM_USER <VM_USER> Co-authored-by: silicons <no@you.cat>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
silicons
parent
c1ad8f4ce0
commit
fd5e67ff71
@@ -2,7 +2,7 @@
|
||||
/proc/get_camera_access(var/network)
|
||||
if(!network)
|
||||
return 0
|
||||
. = GLOB.using_map.get_network_access(network)
|
||||
. = (LEGACY_MAP_DATUM).get_network_access(network)
|
||||
if(.)
|
||||
return
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
if(NETWORK_ERT)
|
||||
return ACCESS_CENTCOM_ERT
|
||||
|
||||
if(network in GLOB.using_map.station_networks)
|
||||
if(network in (LEGACY_MAP_DATUM).station_networks)
|
||||
return ACCESS_SECURITY_EQUIPMENT // Default for all other station networks
|
||||
else
|
||||
return 999 //Inaccessible if not a station network and not mentioned above
|
||||
|
||||
@@ -171,8 +171,8 @@
|
||||
else
|
||||
return 0
|
||||
|
||||
var/list/zlevels_in_range = GLOB.using_map.get_map_levels(their_z, FALSE)
|
||||
var/list/zlevels_in_long_range = GLOB.using_map.get_map_levels(their_z, TRUE) - zlevels_in_range
|
||||
var/list/zlevels_in_range = (LEGACY_MAP_DATUM).get_map_levels(their_z, FALSE)
|
||||
var/list/zlevels_in_long_range = (LEGACY_MAP_DATUM).get_map_levels(their_z, TRUE) - zlevels_in_range
|
||||
var/their_signal = 0
|
||||
for(var/relay in ntnet_global.relays)
|
||||
var/obj/machinery/ntnet_relay/R = relay
|
||||
|
||||
Reference in New Issue
Block a user