- Fixed: Only setting controllers should be able to remove bots.

This commit is contained in:
ChillyDoom 2014-10-21 19:32:15 +01:00
parent c9bc9b427c
commit 6166e83d28

View file

@ -141,6 +141,12 @@ void FCajunMaster::ClearPlayer (int i, bool keepTeam)
CCMD (removebots) CCMD (removebots)
{ {
if (!players[consoleplayer].settings_controller)
{
Printf ("Only setting controllers can remove bots\n");
return;
}
Net_WriteByte (DEM_KILLBOTS); Net_WriteByte (DEM_KILLBOTS);
} }