mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
converts area vars to flags
This commit is contained in:
@@ -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