converts area vars to flags

This commit is contained in:
Kashargul
2024-12-04 22:21:38 +01:00
parent 847fa11fd6
commit ead0180057
45 changed files with 142 additions and 311 deletions
@@ -90,7 +90,7 @@
if(ownturf.z != T.z || get_dist(T,ownturf) > world.view)
to_chat(user, span_warning("The target is out of range!"))
return
if(get_area(A).flags & BLUE_SHIELDED)
if(get_area(A).flag_check(BLUE_SHIELDED))
to_chat(user, span_warning("The target area protected by bluespace shielding!"))
return
if(!(A in view(user, world.view)))