Skip to content

Commit

Permalink
Fix click when selecting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomba committed Mar 15, 2016
1 parent 146a371 commit 6a92e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Client/MapControl3D/SelectionService.cs
Expand Up @@ -48,6 +48,7 @@ public MapSelectionMode SelectionMode
m_control.DragEnded -= OnDragEnded;
m_control.Dragging -= OnDragging;
m_control.DragAborted -= OnDragAborted;
m_control.MouseClicked -= OnMouseClicked;

m_game.CameraKeyHandler.KeyDown -= OnKeyDown;
m_game.CursorService.LocationChanged -= OnCursorMoved;
Expand All @@ -74,6 +75,7 @@ public MapSelectionMode SelectionMode
m_control.DragEnded += OnDragEnded;
m_control.Dragging += OnDragging;
m_control.DragAborted += OnDragAborted;
m_control.MouseClicked += OnMouseClicked;

m_game.CameraKeyHandler.KeyDown += OnKeyDown;
m_game.CursorService.LocationChanged += OnCursorMoved;
Expand Down

0 comments on commit 6a92e81

Please sign in to comment.