aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9644010..f93406b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -113,3 +113,9 @@ Game::popUptoIncluding(const std::string &key)
m_order.pop_back();
return true;
}
+
+void
+Game::popAll()
+{
+ m_order.clear();
+}