diff options
author | Hop311 <Hop3114@gmail.com> | 2023-12-28 17:43:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 17:43:43 +0100 |
commit | 0a425fbe05d6138b753c0e4a7c06f06695bde8af (patch) | |
tree | 8f67577b0101c06e2a7cc4d4c277d686d16d3d75 /src/openvic-simulation/map/Province.cpp | |
parent | 56a865d7d0868b785eb6b9b723f0e52f65e6457d (diff) | |
parent | 12a47833bbe72d50271bde15c7579c1e801863c2 (diff) |
Merge pull request #110 from OpenVicProject/clock-refactor
Clock refactor + misc small fixes
Diffstat (limited to 'src/openvic-simulation/map/Province.cpp')
-rw-r--r-- | src/openvic-simulation/map/Province.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/Province.cpp b/src/openvic-simulation/map/Province.cpp index 2d301e8..1285b0d 100644 --- a/src/openvic-simulation/map/Province.cpp +++ b/src/openvic-simulation/map/Province.cpp @@ -112,9 +112,9 @@ void Province::update_pops() { } } -void Province::update_state(Date today) { +void Province::update_gamestate(Date today) { for (BuildingInstance& building : buildings.get_items()) { - building.update_state(today); + building.update_gamestate(today); } update_pops(); } |