Changeset - r23462:e1911102847f
[Not reviewed]
master
0 1 0
Gabda - 5 years ago 2019-03-12 19:12:34
gabda87@gmail.com
Codechange: Update town sign on population change only when population is shown (#7368)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -423,7 +423,7 @@ static void ChangePopulation(Town *t, in
 
{
 
	t->cache.population += mod;
 
	InvalidateWindowData(WC_TOWN_VIEW, t->index); // Cargo requirements may appear/vanish for small populations
 
	t->UpdateVirtCoord();
 
	if (_settings_client.gui.population_in_label) t->UpdateVirtCoord();
 

	
 
	InvalidateWindowData(WC_TOWN_DIRECTORY, 0, 1);
 
}
0 comments (0 inline, 0 general)