fixed isConsoleCmd is not assigned in addbot

This commit is contained in:
jeefo 2016-07-04 13:19:04 +03:00
commit a27871478a

View file

@ -329,6 +329,7 @@ void BotManager::AddBot (const String &name, const String &difficulty, const Str
bot.team = (team.IsEmpty () || team == any) ? -1 : team.ToInt ();
bot.member = (member.IsEmpty () || member == any) ? -1 : member.ToInt ();
bot.personality = (personality.IsEmpty () || personality == any) ? -1 : personality.ToInt ();
bot.console = isConsoleCmd;
m_creationTab.Push (bot);
}