mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 03:36:07 +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:
committed by
GitHub
parent
7131e4602e
commit
893b4e2ac0
@@ -83,7 +83,7 @@
|
||||
var/turf/newturf = get_turf(active_camera)
|
||||
var/area/B = newturf?.loc // No cam tracking in dorms!
|
||||
// Show static if can't use the camera
|
||||
if(!active_camera?.can_use() || B.block_tracking)
|
||||
if(!active_camera?.can_use() || B.flag_check(AREA_BLOCK_TRACKING))
|
||||
show_camera_static()
|
||||
if(!ui)
|
||||
var/user_ref = REF(user)
|
||||
@@ -182,7 +182,7 @@
|
||||
var/turf/newturf = get_turf(active_camera)
|
||||
var/area/B = newturf?.loc // No cam tracking in dorms!
|
||||
// Show static if can't use the camera
|
||||
if(!active_camera?.can_use() || B.block_tracking)
|
||||
if(!active_camera?.can_use() || B.flag_check(AREA_BLOCK_TRACKING))
|
||||
show_camera_static()
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user