- Handle level in bot code

This commit is contained in:
Christoph Oelckers 2019-01-29 04:27:21 +01:00
commit 06e5dd1d86
6 changed files with 14 additions and 14 deletions

View file

@ -2230,11 +2230,11 @@ void Net_DoCommand (int type, uint8_t **stream, int player)
break;
case DEM_ADDBOT:
bglobal.TryAddBot (stream, player);
bglobal.TryAddBot (&level, stream, player);
break;
case DEM_KILLBOTS:
bglobal.RemoveAllBots (true);
bglobal.RemoveAllBots (&level, true);
Printf ("Removed all bots\n");
break;