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:
silicons
2023-06-15 19:21:14 +02:00
committed by GitHub
co-authored by VM_USER <VM_USER> silicons
parent c1ad8f4ce0
commit fd5e67ff71
406 changed files with 4655 additions and 5602 deletions
@@ -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