mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Hotfix] Fix issues where we're using the wrong database pointers
This commit is contained in:
+2
-2
@@ -440,14 +440,14 @@ bool ZoneDatabase::PopulateZoneSpawnList(uint32 zoneid, LinkedList<Spawn2*> &spa
|
||||
|
||||
std::unordered_map<uint32, uint32> spawn_times;
|
||||
|
||||
timeval tv;
|
||||
timeval tv{};
|
||||
gettimeofday(&tv, nullptr);
|
||||
|
||||
/* Bulk Load NPC Types Data into the cache */
|
||||
content_db.LoadNPCTypesData(0, true);
|
||||
|
||||
const auto& l = RespawnTimesRepository::GetWhere(
|
||||
*this,
|
||||
database,
|
||||
fmt::format(
|
||||
"`instance_id` = {}",
|
||||
zone->GetInstanceID()
|
||||
|
||||
Reference in New Issue
Block a user