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
+1 -1
View File
@@ -190,7 +190,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
if(!user_turf)
to_chat(user, "<span class='warning'>You cannot cast spells in null space!</span>")
if(spell_flags & Z2NOCAST && (user_turf.z in GLOB.using_map.admin_levels)) //Certain spells are not allowed on the CentCom zlevel
if(spell_flags & Z2NOCAST && (user_turf.z in (LEGACY_MAP_DATUM).admin_levels)) //Certain spells are not allowed on the CentCom zlevel
return 0
if(spell_flags & CONSTRUCT_CHECK)