Skip to content

Commit

Permalink
Mouse is now reset on launch from station if mouse control is enabled…
Browse files Browse the repository at this point in the history
…. Closes #237.
  • Loading branch information
AnotherCommander committed Jul 7, 2017
1 parent 73df6aa commit 1b95d31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Core/Entities/PlayerEntity.m
Original file line number Diff line number Diff line change
Expand Up @@ -7035,6 +7035,11 @@ - (void) leaveDock:(StationEntity *)station

[[UNIVERSE gameView] clearKeys]; // try to stop keybounces

if ([self isMouseControlOn])
{
[[UNIVERSE gameView] resetMouse];
}

[[OOMusicController sharedController] stop];

[UNIVERSE forceWitchspaceEntries];
Expand Down

0 comments on commit 1b95d31

Please sign in to comment.