Fix Infected + support other modes

This commit is contained in:
WantedDV 2023-04-20 23:58:15 -02:30
parent ebd3998d75
commit d9d5887561

View File

@ -108,7 +108,6 @@ function init()
level endon( "game_ended" ); level endon( "game_ended" );
level.botSoak = is_bot_soak(); level.botSoak = is_bot_soak();
if( !init_bot_gametype() ) if( !init_bot_gametype() )
{ {
return; return;
@ -878,8 +877,8 @@ function init_bot_gametype()
case "escort": case "escort":
bot_escort::init(); bot_escort::init();
return true; return true;
case "infect": // case "infect":
return true; // return true;
case "gun": case "gun":
return true; return true;
case "koth": case "koth":
@ -893,6 +892,12 @@ function init_bot_gametype()
return true; return true;
case "tdm": case "tdm":
return true; return true;
case "sas":
return true;
case "prop":
return true;
case "sniperonly":
return true;
} }
return false; return false;