summaryrefslogtreecommitdiff
path: root/src/Model/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Game.cpp')
-rw-r--r--src/Model/Game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Model/Game.cpp b/src/Model/Game.cpp
index 5be88d9..3f9fc7a 100644
--- a/src/Model/Game.cpp
+++ b/src/Model/Game.cpp
@@ -30,6 +30,9 @@ bool Game::swipe(kbdh::Direction direction){
break;
}
+ if(moveDone)
+ this->popRandomNumber();
+
return moveDone;
}