mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Only apply maxconnections to bots in netgame contexts
This commit is contained in:
parent
873d16e6c0
commit
1ed7591c40
1 changed files with 4 additions and 1 deletions
|
|
@ -271,7 +271,10 @@ void K_UpdateMatchRaceBots(void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
difficulty = cv_kartbot.value;
|
difficulty = cv_kartbot.value;
|
||||||
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_maxconnections.value));
|
if (netgame)
|
||||||
|
{
|
||||||
|
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_maxconnections.value));
|
||||||
|
}
|
||||||
if (cv_maxplayers.value > 0)
|
if (cv_maxplayers.value > 0)
|
||||||
{
|
{
|
||||||
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_maxplayers.value));
|
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_maxplayers.value));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue