fixed isConsoleCmd is not assigned in addbot
This commit is contained in:
parent
19f4582685
commit
a27871478a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue