diff --git a/src/Core/Entities/PlayerEntity.m b/src/Core/Entities/PlayerEntity.m index e2e31bb0..a18905c6 100644 --- a/src/Core/Entities/PlayerEntity.m +++ b/src/Core/Entities/PlayerEntity.m @@ -7699,8 +7699,6 @@ static GLfloat sBaseMass = 0.0; } /* ends */ - //[[UNIVERSE gameView] clearMouse]; - [self setShowDemoShips:NO]; [UNIVERSE enterGUIViewModeWithMouseInteraction:YES]; diff --git a/src/Core/Entities/PlayerEntityControls.m b/src/Core/Entities/PlayerEntityControls.m index b90580e5..a2fd3ab7 100644 --- a/src/Core/Entities/PlayerEntityControls.m +++ b/src/Core/Entities/PlayerEntityControls.m @@ -3317,6 +3317,7 @@ static NSTimeInterval time_last_frame; if (([gameView isDown:gvFunctionKey6])||(fKeyAlias && [gameView isDown:key_gui_chart_screens])) { mouse_left_down = NO; + [gameView clearMouse]; if (!switching_chart_screens) { switching_chart_screens = YES;