[PlayerBotAI] Added minor account table update
This commit is contained in:
parent
578cd319bb
commit
c2f1403c6a
@ -262,7 +262,7 @@ void PlayerbotAIConfig::CreateRandomBots()
|
||||
sLog.outDetail("Account %s created for random bots", accountName.c_str());
|
||||
}
|
||||
|
||||
LoginDatabase.PExecute("UPDATE account SET expansion = '%u' where username like '%s%%'", 2, randomBotAccountPrefix.c_str());
|
||||
LoginDatabase.PExecute("UPDATE account SET expansion = '%u', playerbot = %u where username like '%s%%'", 0,true, randomBotAccountPrefix.c_str());
|
||||
|
||||
int totalRandomBotChars = 0;
|
||||
for (int accountNumber = 0; accountNumber < randomBotAccountCount; ++accountNumber)
|
||||
|
Loading…
x
Reference in New Issue
Block a user