Skip to content

Commit

Permalink
Fix real town population and house stats in newly created games
Browse files Browse the repository at this point in the history
  • Loading branch information
ldpl committed Feb 21, 2024
1 parent 28c393c commit 6b3ba78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/town_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,7 @@ bool GenerateTowns(TownLayout layout)

/* Build the town k-d tree again to make sure it's well balanced */
RebuildTownKdtree();
citymania::Emit(citymania::event::TownCachesRebuilt());

if (current_number != 0) return true;

Expand Down

0 comments on commit 6b3ba78

Please sign in to comment.