From 54ddd94739d7efa3b7539d638edaf89b023ef903 Mon Sep 17 00:00:00 2001 From: Nemrav <> Date: Sun, 17 Nov 2024 16:33:44 -0400 Subject: revert UI node type change --- extension/src/openvic-extension/singletons/MapItemSingleton.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extension/src') diff --git a/extension/src/openvic-extension/singletons/MapItemSingleton.cpp b/extension/src/openvic-extension/singletons/MapItemSingleton.cpp index 57b5ccb..67af22e 100644 --- a/extension/src/openvic-extension/singletons/MapItemSingleton.cpp +++ b/extension/src/openvic-extension/singletons/MapItemSingleton.cpp @@ -133,9 +133,14 @@ PackedVector2Array MapItemSingleton::get_province_positions(){ PackedVector2Array billboard_pos = PackedVector2Array(); int prov_count = game_singleton->get_definition_manager().get_map_definition().get_province_definition_count(); + Logger::info("prov_count ", prov_count); + for(int i = 0; i < prov_count; i++){ ProvinceDefinition const* prov = game_singleton->get_definition_manager().get_map_definition().get_province_definition_by_index(i); billboard_pos.push_back(Vector2(prov->get_city_position().x,prov->get_city_position().y)); + if(i % 4){ + Logger::info("prov_x ", prov->get_city_position().x); + } } return billboard_pos; -- cgit v1.2.3-56-ga3b1