Skip to content

Commit

Permalink
make it work with hyperspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Gutin1 committed Aug 24, 2024
1 parent 02f2da6 commit d1d994f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ object PilotedStarships : IonServerComponent() {

tryPilot(event.player, starship.data)

starship.pilotDisconnectLocation = null

event.player.success("Since you logged out while piloting, you were teleported back to your starship")
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ abstract class StarshipMovement(val starship: ActiveStarship, val newWorld: Worl
starship.blocks = newLocationSet
moveShipComputers(world2)
updateDirectControlCenter()
moveDisconnectLocation()
starship.calculateMinMax()
updateCenter()
updateSubsystems(world2)
Expand Down

0 comments on commit d1d994f

Please sign in to comment.