mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Wrap SaveBotSettings in Bots Enabled check
This commit is contained in:
+3
-1
@@ -780,7 +780,9 @@ bool Client::Save(uint8 iCommitNow) {
|
||||
|
||||
database.SaveCharacterEXPModifier(this);
|
||||
|
||||
database.botdb.SaveBotSettings(this);
|
||||
if (RuleB(Bots, Enabled)) {
|
||||
database.botdb.SaveBotSettings(this);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user