mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01: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:
co-authored by
Heroman3003
Kashargul
parent
7131e4602e
commit
893b4e2ac0
@@ -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) || (T.block_tele) || (ownturf.block_tele)) //CHOMPedit, consistency smh
|
||||
if((get_area(A).flag_check(BLUE_SHIELDED)) || (T.block_tele) || (ownturf.block_tele)) //CHOMPedit, consistency smh
|
||||
to_chat(user, span_warning("The target area protected by bluespace shielding!"))
|
||||
return
|
||||
if(!(A in view(user, world.view)))
|
||||
|
||||
Reference in New Issue
Block a user