mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 17:26:30 +00:00
Update zone/zonedb.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
+9
-1
@@ -2950,7 +2950,15 @@ void ZoneDatabase::SaveBuffs(Client *client)
|
||||
}
|
||||
}
|
||||
|
||||
database.TransactionCommit();
|
||||
const auto commit_result = database.TransactionCommit();
|
||||
if (!commit_result) {
|
||||
database.TransactionRollback();
|
||||
LogError(
|
||||
"Failed to commit buff save transaction for character [{}] [{}].",
|
||||
client->GetCleanName(),
|
||||
client->CharacterID()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void ZoneDatabase::LoadBuffs(Client *client)
|
||||
|
||||
Reference in New Issue
Block a user