Change: Only resort town directory window on population change if necessary
This commit is contained in:

committed by
Charles Pigott

parent
f2d230d91c
commit
22ba048c89
@@ -994,6 +994,10 @@ public:
|
||||
this->towns.ForceRebuild();
|
||||
break;
|
||||
|
||||
case TDIWD_POPULATION_CHANGE:
|
||||
if (this->towns.SortType() == 1) this->towns.ForceResort();
|
||||
break;
|
||||
|
||||
default:
|
||||
this->towns.ForceResort();
|
||||
}
|
||||
|
Reference in New Issue
Block a user