summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kurator/src/Campaign.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kurator/src/Campaign.cpp b/kurator/src/Campaign.cpp
index 75daaac..c0e28f1 100644
--- a/kurator/src/Campaign.cpp
+++ b/kurator/src/Campaign.cpp
@@ -76,6 +76,8 @@ Campaign::update(const float)
session->pop();
}
ImGui::End();
+ if (ships.empty())
+ session->pop();
}