diff options
author | Aki <please@ignore.pl> | 2023-01-07 14:19:27 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-07 14:19:27 +0100 |
commit | 2e04422f343b83d9a78f06d84a68d3b5097dd2ad (patch) | |
tree | 7e2d5839ab3078995c8acf0f6ddc43dfb601d87d | |
parent | c8a73be44c2e8b96063ac62067d50d88fa9ea9a3 (diff) | |
download | kurator-2e04422f343b83d9a78f06d84a68d3b5097dd2ad.zip kurator-2e04422f343b83d9a78f06d84a68d3b5097dd2ad.tar.gz kurator-2e04422f343b83d9a78f06d84a68d3b5097dd2ad.tar.bz2 |
Added crude campaign end condition
-rw-r--r-- | kurator/src/Campaign.cpp | 2 |
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(); } |