mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-07 23:52:24 +00:00
Character tribute
This commit is contained in:
parent
01fd2611e6
commit
f5f666062b
@ -981,9 +981,8 @@ void ZoneDatabase::SaveCharacterTribute(Client* c)
|
||||
}
|
||||
}
|
||||
|
||||
CharacterTributeRepository::DeleteWhere(database, fmt::format("character_id = {}", c->CharacterID()));
|
||||
|
||||
if (tribute_count > 0) {
|
||||
CharacterTributeRepository::DeleteWhere(database, fmt::format("character_id = {}", c->CharacterID()));
|
||||
CharacterTributeRepository::InsertMany(database, tributes);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user