Clicking a bitrunning pod orbits its avatar (#79053)

This commit is contained in:
Rhials
2023-10-18 15:38:59 -04:00
committed by GitHub
parent 2532911353
commit 0bf69b5724
@@ -227,6 +227,11 @@
return FALSE
/obj/machinery/netpod/attack_ghost(mob/dead/observer/our_observer)
var/our_target = avatar_ref?.resolve()
if(isnull(our_target) || !our_observer.orbit(our_target))
return ..()
/// Disconnects the occupant after a certain time so they aren't just hibernating in netpod stasis. A balance change
/obj/machinery/netpod/proc/auto_disconnect()
if(isnull(occupant) || state_open || connected)