aboutsummaryrefslogtreecommitdiff
path: root/src/openvic2/GameManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic2/GameManager.cpp')
-rw-r--r--src/openvic2/GameManager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic2/GameManager.cpp b/src/openvic2/GameManager.cpp
index da775ba..349c276 100644
--- a/src/openvic2/GameManager.cpp
+++ b/src/openvic2/GameManager.cpp
@@ -31,8 +31,10 @@ return_t GameManager::setup() {
session_start = time(nullptr);
clock.reset();
today = { 1836 };
+ good_manager.reset_to_defaults();
+ return_t ret = map.setup(good_manager, building_manager);
set_needs_update();
- return map.generate_province_buildings(building_manager);
+ return ret;
}
Date const& GameManager::get_today() const {