From bdc690d00c3c2774730dd893ddccb14efc9e0b94 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 31 Dec 2022 15:11:45 +0100 Subject: Renamed misleading total_teams() method --- sim/src/BaseBattle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim') 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}; -- cgit v1.1