mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 01:56:47 +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
|
||||
|
||||
Reference in New Issue
Block a user