mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] entertainment cameras now update on move and some cleanup (#9155)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -136,8 +136,9 @@
|
||||
if(!A || QDELETED(A))
|
||||
show_tvs(loc)
|
||||
|
||||
if(get_dist(get_turf(src), get_turf(A)) > 5)
|
||||
if(get_dist(get_turf(src), get_turf(A)) > 0) // No realtime updates
|
||||
show_tvs(loc)
|
||||
update_feed()
|
||||
|
||||
/obj/item/tvcamera/update_icon()
|
||||
..()
|
||||
@@ -153,6 +154,10 @@
|
||||
H.update_inv_l_hand()
|
||||
H.update_inv_belt()
|
||||
|
||||
/obj/item/tvcamera/proc/update_feed()
|
||||
if(camera.status)
|
||||
SEND_SIGNAL(camera, COMSIG_OBSERVER_MOVED) // Forward the movement signal
|
||||
|
||||
// CHOMPEdit Start - Bodycam
|
||||
// Security Bodycam
|
||||
|
||||
|
||||
Reference in New Issue
Block a user