1
0
Fork 0

Merge pull request #140 from KuehnhammerTobias/pr_mp_devmap_bots

Always keep bots, even with 'devmap'.
This commit is contained in:
Eugene C 2022-01-21 21:44:13 +02:00 committed by GitHub
commit 2ea650beea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -196,13 +196,14 @@ static void SV_Map_f( void ) {
else {
if ( !Q_stricmp( cmd, "devmap" ) ) {
cheat = qtrue;
killBots = qtrue;
} else {
cheat = qfalse;
killBots = qfalse;
}
if( sv_gametype->integer == GT_SINGLE_PLAYER ) {
Cvar_SetIntegerValue( "g_gametype", GT_FFA );
killBots = qtrue;
} else {
killBots = qfalse;
}
}