[Code] ZoneStore Global to Singleton Cleanup (#4934)

This commit is contained in:
Alex King authored and GitHub committed 2025-06-23 06:45:06 -04:00
1 parent bac892b582
commit 2e760d6397
26 files changed
+379 -384

No files matched your search

+2 -2
View File
@@ -279,9 +279,9 @@ bool WorldBoot::DatabaseLoadRoutines(int argc, char **argv)
LogInfo("Loading zones");
zone_store.LoadZones(content_db);
ZoneStore::Instance()->LoadZones(content_db);
if (zone_store.GetZones().empty()) {
if (ZoneStore::Instance()->GetZones().empty()) {
LogError("Failed to load zones data, check your schema for possible errors");
return 1;
}