Need to limit per region growth
This commit is contained in:
@@ -676,6 +676,7 @@ void BuildingLayoutGraph::graph_module::growth_module(flecs::world &ecs,
|
||||
.each([this](flecs::entity floor_e,
|
||||
WorldEditor::components::buildings_layout_grid_floor
|
||||
&fl) {
|
||||
/* TODO: limit growth per region too */
|
||||
struct grid_calc grid(fl.grid_size);
|
||||
if (fl.size_left <= 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user