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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index d952d5f..56f90e3 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1180,7 +1180,8 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
break;
}
}
- return;
+ if(key != ' ')
+ return;
}
switch(key)
{