Skip to content

Commit

Permalink
[MIRROR] Clicking a bitrunning pod orbits its avatar [MDB IGNORE] (#2…
Browse files Browse the repository at this point in the history
…4417)

* Clicking a bitrunning pod orbits its avatar (#79053)

* Clicking a bitrunning pod orbits its avatar

---------

Co-authored-by: Rhials <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Oct 19, 2023
1 parent 776933c commit fab122b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/bitrunning/objects/netpod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fab122b

Please sign in to comment.