From 12a47833bbe72d50271bde15c7579c1e801863c2 Mon Sep 17 00:00:00 2001 From: hop311 Date: Thu, 28 Dec 2023 15:16:41 +0000 Subject: Clock refactor + misc small fixes --- src/openvic-simulation/map/Province.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openvic-simulation/map/Province.cpp') 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(); } -- cgit v1.2.3-56-ga3b1