summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 7d21f02..9bb1ee7 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -54,7 +54,7 @@ public:
{
if(leftDown)
DoLeftAction();
- if(rightDown)
+ else if(rightDown)
DoRightAction();
}
ui::Button::OnMouseUp(x, y, button);