aboutsummaryrefslogtreecommitdiff
path: root/src/openvic2/GameManager.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-05-09 21:10:02 +0200
committer GitHub <noreply@github.com>2023-05-09 21:10:02 +0200
commit339e0278a2064f7eeb152fe8c5778840b609e9f3 (patch)
tree05bb2635d921de9ad138736d49e4b5ea7a419c23 /src/openvic2/GameManager.cpp
parent1838e79d6af83dbed2f1b387acf02aacca0eb4bc (diff)
parent3550c455526eb6f8935f488810e73fe01a1177a9 (diff)
Merge pull request #2 from OpenVic2Project/goods
Added GoodManager
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 {