mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Split up and rename var/flags (#17794)
* Split up and rename `var/flags` * Various fixes * CL * Don't rename Phoron Guard phoron preset --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
4b9303a1e9
commit
06601c9ec3
@@ -148,7 +148,7 @@
|
||||
var/turf/T = i
|
||||
T.post_change(FALSE)
|
||||
if(template_flags & TEMPLATE_FLAG_NO_RUINS)
|
||||
T.flags |= TURF_NORUINS
|
||||
T.turf_flags |= TURF_NORUINS
|
||||
if(istype(T,/turf/simulated))
|
||||
var/turf/simulated/sim = T
|
||||
sim.update_air_properties()
|
||||
|
||||
@@ -88,7 +88,7 @@ var/list/banned_ruin_ids = list()
|
||||
valid = TRUE
|
||||
for(var/turf/check_turf in ruin.get_affected_turfs(choice, TRUE))
|
||||
var/area/check_area = get_area(check_turf)
|
||||
if(!istype(check_area, filter_area) || check_turf.flags & TURF_NORUINS)
|
||||
if(!istype(check_area, filter_area) || check_turf.turf_flags & TURF_NORUINS)
|
||||
valid = FALSE
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user