mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] converts area booleans to flags (#9595)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7131e4602e
commit
893b4e2ac0
@@ -35,7 +35,7 @@ SUBSYSTEM_DEF(persistence)
|
||||
return
|
||||
|
||||
var/area/A = get_area(T)
|
||||
if(!A || (A.flags & AREA_FLAG_IS_NOT_PERSISTENT))
|
||||
if(!A || (A.flag_check(AREA_FLAG_IS_NOT_PERSISTENT)))
|
||||
return
|
||||
|
||||
if(!(T.z in using_map.persist_levels))
|
||||
|
||||
@@ -73,7 +73,7 @@ SUBSYSTEM_DEF(radiation)
|
||||
|
||||
if(source.respect_maint)
|
||||
var/area/A = T.loc
|
||||
if(A.flags & RAD_SHIELDED)
|
||||
if(A.flag_check(RAD_SHIELDED))
|
||||
continue // In shielded area
|
||||
|
||||
var/dist = get_dist(source.source_turf, T)
|
||||
|
||||
Reference in New Issue
Block a user