Burg Regeneration takes into account deleted states
DeuzeksMcKinna opened this issue · comments
Describe the bug
When working on a map that initially has X states number, after deleting these states (X or any lower number deleted) and Regenerating Burgs, the amount of burgs generated will be X+N where N is the number set on "Towns Number".
Steps to reproduce
- Create a map with 10 States
- Delete All States
- Set the "Towns Number" Slider to 6
- Click Regenerate Burgs
- 16 burgs will be generated
Expected behavior
Burgs generated via Regeneration being equal in amount to the "Towns Number" slider when on an empty map, and having the minimum limit only for existing States
.map file
Adankan_2023-12-04-22-12.zip
38 States with "Removed:TRUE"
Will happen on newly-generated maps too
Screenshots
Thanks. Burgs number should be Number of existing states + Number of burgs from options. So just need to filter our the removed burgs in code.
@DeuzeksMcKinna, please check now
Working as intended!