mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-15 12:52:25 +00:00
If an error occurs (!results.Success()) in loadlootdrops the method continues processing instead of exiting.
This commit is contained in:
parent
d86307c720
commit
b4b28e5eb8
@ -1920,6 +1920,7 @@ void SharedDatabase::LoadLootDrops(void *data, uint32 size) {
|
|||||||
"ON lootdrop.id = lootdrop_entries.lootdrop_id ORDER BY lootdrop_id";
|
"ON lootdrop.id = lootdrop_entries.lootdrop_id ORDER BY lootdrop_id";
|
||||||
auto results = QueryDatabase(query);
|
auto results = QueryDatabase(query);
|
||||||
if (!results.Success()) {
|
if (!results.Success()) {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 current_id = 0;
|
uint32 current_id = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user