entertainment cameras now upadte on move

This commit is contained in:
Kashargul
2024-10-04 11:21:56 +02:00
committed by GitHub
parent 6ebd6bc8ec
commit 697d38dc94
+5 -1
View File
@@ -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