diff options
Diffstat (limited to 'sim/src')
-rw-r--r-- | sim/src/BaseBattle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/src/BaseBattle.cpp b/sim/src/BaseBattle.cpp index 99c1b99..46c98ed 100644 --- a/sim/src/BaseBattle.cpp +++ b/sim/src/BaseBattle.cpp @@ -23,7 +23,7 @@ namespace sim BaseBattle::BaseBattle(const campaign::Scenario& scenario) : time {0.0}, _registry {}, - spawner {scenario.total_teams(), scenario.radius, 0.1} + spawner {scenario.last_team(), scenario.radius, 0.1} { const auto repo = universe::load_sample(); Builder build {_registry, spawner}; |