summaryrefslogtreecommitdiff
path: root/src/koopatlas/pathmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp
index b1108b8..271bcbe 100644
--- a/src/koopatlas/pathmanager.cpp
+++ b/src/koopatlas/pathmanager.cpp
@@ -243,8 +243,10 @@ void dWMPathManager_c::setup() {
completionMessageType = CMP_MSG_EXITS;
}
}
- if (CanFinishWorld && flag == totalFlag)
- completionMessageType = CMP_MSG_WORLD;
+ if (CanFinishWorld && flag == totalFlag) {
+ shouldRequestSave = true;
+ completionMessageType = CMP_MSG_WORLD;
+ }
if (CanFinishAlmostAllCoins) {
if ((conds & COND_COIN_ALL) == COND_COIN_ALL)