Hazeron Forums
Capitol Building window doesn't refresh. - Printable Version

+- Hazeron Forums (https://hazeron.com/mybb)
+-- Forum: Shores of Hazeron (https://hazeron.com/mybb/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=17)
+---- Forum: Closed Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=18)
+---- Thread: Capitol Building window doesn't refresh. (/showthread.php?tid=2450)



Capitol Building window doesn't refresh. - se5a - 09-13-2020

specifically the 'Info" column.
when sitting at the capitol building trying to build a city from the capitols building window, the window doesn't refresh when buildings have finished being built, or if you've changed "Employ Citizen" checkbox.


RE: Capitol Building window doesn't refresh. - Deantwo - 09-14-2020

This is intentional. The list does not automatically refresh, you have to click the refresh (broom icon) button to refresh the list manually.

I believe this was because it was almost impossible to use the list if it was automatically updated.


RE: Capitol Building window doesn't refresh. - se5a - 09-14-2020

You don't need to rebuild the whole list on a refresh, you loop through the items and update each item.
the only time you'd need to rebuild the whole list is when a new building was added, and even then it's probably possible to work around rebuilding the whole list.