mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed removebot never working
This commit is contained in:
parent
b68992e55e
commit
11fb5ee2af
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ qboolean G_RemoveBotCommand
|
|||
}
|
||||
|
||||
numbots = atoi(gi.Argv(1));
|
||||
totalnumbots = Q_min(numbots, sv_numbots->integer);
|
||||
totalnumbots = sv_numbots->integer - Q_min(numbots, sv_numbots->integer);
|
||||
|
||||
gi.cvar_set("sv_numbots", va("%d", totalnumbots));
|
||||
return qtrue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue