mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 15:37:16 +00:00
Wrap bot setting loading for clients in bots enabled rule
This commit is contained in:
@@ -1510,9 +1510,10 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
|||||||
LogError("Error loading AA points for [{}]", GetName());
|
LogError("Error loading AA points for [{}]", GetName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (RuleB(Bots, Enabled)) {
|
||||||
LoadDefaultBotSettings();
|
LoadDefaultBotSettings();
|
||||||
|
|
||||||
database.botdb.LoadBotSettings(this);
|
database.botdb.LoadBotSettings(this);
|
||||||
|
}
|
||||||
|
|
||||||
if (SPDAT_RECORDS > 0) {
|
if (SPDAT_RECORDS > 0) {
|
||||||
for (uint32 z = 0; z < EQ::spells::SPELL_GEM_COUNT; z++) {
|
for (uint32 z = 0; z < EQ::spells::SPELL_GEM_COUNT; z++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user