aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/GameSingleton.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-07-23 21:25:44 +0200
committer hop311 <hop3114@gmail.com>2024-07-26 22:20:42 +0200
commit46c3009075be36577ab7dbea263655e428833b20 (patch)
treed6cb992d6d3bf8cb1b1090fa18e0002fa4539b1a /extension/src/openvic-extension/singletons/GameSingleton.cpp
parentf61760e725de0ae4878580a93bcd8ce456aa539f (diff)
Cache sort order of localised population menu columnslocale-sort-cache
Diffstat (limited to 'extension/src/openvic-extension/singletons/GameSingleton.cpp')
-rw-r--r--extension/src/openvic-extension/singletons/GameSingleton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/singletons/GameSingleton.cpp b/extension/src/openvic-extension/singletons/GameSingleton.cpp
index 074c8b5..b6108ee 100644
--- a/extension/src/openvic-extension/singletons/GameSingleton.cpp
+++ b/extension/src/openvic-extension/singletons/GameSingleton.cpp
@@ -140,7 +140,7 @@ Error GameSingleton::setup_game(int32_t bookmark_index) {
MenuSingleton* menu_singleton = MenuSingleton::get_singleton();
ERR_FAIL_NULL_V(menu_singleton, FAILED);
- ret &= menu_singleton->_population_menu_update_provinces();
+ ret &= menu_singleton->_population_menu_update_provinces() == OK;
return ERR(ret);
}