mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
entertainment cameras now upadte on move
This commit is contained in:
@@ -133,8 +133,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()
|
||||
..()
|
||||
@@ -150,6 +151,9 @@
|
||||
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
|
||||
|
||||
//Assembly by roboticist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user