Merge pull request #14766 from Linzolle/cultfix

Fix cult area shenanigans, cult can do stuff in maint again.
This commit is contained in:
silicons
2021-06-09 11:22:26 -07:00
committed by GitHub
13 changed files with 23 additions and 27 deletions
@@ -593,7 +593,7 @@ GLOBAL_LIST_INIT(runed_metal_recipes, list ( \
return
var/turf/T = get_turf(user) //we may have moved. adjust as needed...
var/area/A = get_area(user)
if((!is_station_level(T.z) && !is_mining_level(T.z)) || (A && !(A.flags_1 & CULT_PERMITTED_1)))
if((!is_station_level(T.z) && !is_mining_level(T.z)) || !(A?.area_flags & CULT_PERMITTED))
to_chat(user, "<span class='warning'>The veil is not weak enough here.</span>")
return FALSE
return ..()