From 1b208d88e6f7d5ed4b2dd5034e3c6bf774209a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Thu, 4 Apr 2024 09:29:03 +0300 Subject: [PATCH] optimisation: Don't fetch provinces every tick on building panel --- Gui/GuiElements/GuiBuildingPanel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Gui/GuiElements/GuiBuildingPanel.cs b/Gui/GuiElements/GuiBuildingPanel.cs index a23bca4..6122af3 100644 --- a/Gui/GuiElements/GuiBuildingPanel.cs +++ b/Gui/GuiElements/GuiBuildingPanel.cs @@ -201,7 +201,6 @@ protected override void DoUpdate(GameTime gameTime) base.DoUpdate(gameTime); SetChildrenProperties(); - UpdateProvinceList(); } void RegisterEvents()