mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 17:07:17 +00:00
Wrap bot setting loading for clients in bots enabled rule
This commit is contained in:
1 parent
975af5ee9c
commit
3dfa099718
1 file changed
+4
-3
@@ -1510,9 +1510,10 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
LogError("Error loading AA points for [{}]", GetName());
|
||||
}
|
||||
|
||||
LoadDefaultBotSettings();
|
||||
|
||||
database.botdb.LoadBotSettings(this);
|
||||
if (RuleB(Bots, Enabled)) {
|
||||
LoadDefaultBotSettings();
|
||||
database.botdb.LoadBotSettings(this);
|
||||
}
|
||||
|
||||
if (SPDAT_RECORDS > 0) {
|
||||
for (uint32 z = 0; z < EQ::spells::SPELL_GEM_COUNT; z++) {
|
||||
|
||||
Reference in new issue
Block a user