Skip to content

Commit

Permalink
Remove map control block. Fixes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielKinsman committed Oct 12, 2014
1 parent e35491b commit 3945de2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/flight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ public void UpdateManeuverNodes()
public void ForceMapView()
{
MapView.EnterMapView();
var blocks = ControlTypes.MAP | ControlTypes.ACTIONS_SHIP | ControlTypes.ALL_SHIP_CONTROLS |
var blocks = ControlTypes.ACTIONS_SHIP | ControlTypes.ALL_SHIP_CONTROLS |
ControlTypes.GROUPS_ALL | ControlTypes.LINEAR | ControlTypes.QUICKLOAD | ControlTypes.QUICKSAVE |
ControlTypes.TIMEWARP | ControlTypes.VESSEL_SWITCHING;
ControlTypes.TIMEWARP | ControlTypes.VESSEL_SWITCHING;

InputLockManager.SetControlLock(blocks, "stand-alone-map-view");
}

Expand Down

0 comments on commit 3945de2

Please sign in to comment.