Skip to content

Commit

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

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Rhials <[email protected]>
  • Loading branch information
3 people authored Oct 19, 2023
1 parent ca121bb commit a5e2dc5
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 a5e2dc5

Please sign in to comment.