Merge branch 'develop' of https://github.com/h1-mod/h1-mod into develop
This commit is contained in:
commit
21d59049a4
@ -91,7 +91,9 @@ namespace bots
|
|||||||
num_bots = atoi(params.get(1));
|
num_bots = atoi(params.get(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto i = 0; i < (num_bots > *game::mp::svs_numclients ? *game::mp::svs_numclients : num_bots); i++)
|
num_bots = std::min(num_bots, *game::mp::svs_numclients);;
|
||||||
|
|
||||||
|
for (auto i = 0; i < num_bots; i++)
|
||||||
{
|
{
|
||||||
scheduler::once(add_bot, scheduler::pipeline::server, 100ms * i);
|
scheduler::once(add_bot, scheduler::pipeline::server, 100ms * i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user