diff options
author | Hop311 <hop3114@gmail.com> | 2023-05-08 23:01:13 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-05-08 23:01:13 +0200 |
commit | 3550c455526eb6f8935f488810e73fe01a1177a9 (patch) | |
tree | 05bb2635d921de9ad138736d49e4b5ea7a419c23 /src/openvic2/GameManager.cpp | |
parent | 1838e79d6af83dbed2f1b387acf02aacca0eb4bc (diff) |
Added GoodManager
Diffstat (limited to 'src/openvic2/GameManager.cpp')
-rw-r--r-- | src/openvic2/GameManager.cpp | 4 |
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 { |