Closed bollbas closed 7 years ago
I'm sorry, the changelog for this PR is just absolutely gored. I need you to revise the history of this PR to make more sense and to either consolidate the whitespace mangling into a single commit or to remove it entirely. Right now it is difficult to review this PR when the diff view is like that
Done. I also offer to completely remove RefreshOnTurnRoll
function from citypanel.lua
as soon as it triggers on every player's turn including city states and does nothing useful. It can be done in this PR. What do you think of it?
@bolbass That function was introduced in 562368fcba1991e6e64fcee78a0bfa1e24a1bb0d. The useful thing it does is prevent desyncs in MP
@chaorace, I'm sorry but I checked it and it was easy to review changes when using Hold shift + click to select a range
option in Files changed
>> Changes from all commits
. I thought you are going to use it also.
Everything's great! Thanks for contributing
Removed unnecessary lines when swap tiles and when change city yield focus as soon as production panel updates now with
Events.CityFocusChanged
. FixedCQUI_UpdateAllCitiesCitizens
function to not to use incorrect variable that caused crash sometimes when try to quickload a game right after swap tiles. And also fixedOnTileImproved
andRefreshOnTurnRoll
functions to not to use incorrect variable. This PR is related to 562368fcba1991e6e64fcee78a0bfa1e24a1bb0d #527 #535 #558