aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/GameSingleton.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-07-26 23:05:42 +0200
committer GitHub <noreply@github.com>2024-07-26 23:05:42 +0200
commit0300a10ed7839710750b3937307c1f6c11c7bd75 (patch)
treed6cb992d6d3bf8cb1b1090fa18e0002fa4539b1a /extension/src/openvic-extension/singletons/GameSingleton.cpp
parentf61760e725de0ae4878580a93bcd8ce456aa539f (diff)
parent46c3009075be36577ab7dbea263655e428833b20 (diff)
Merge pull request #241 from OpenVicProject/locale-sort-cache
Cache sort order of localised population menu columns
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);
}