mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 00:42:18 +00:00
Use local database pointer
This commit is contained in:
1 parent
66cc83cb28
commit
7d223ce6f2
5 files changed
+12
-10
No files matched your search
+2
-2
@@ -414,8 +414,8 @@ int main(int argc, char **argv)
|
||||
|
||||
ZoneEventScheduler::Instance()->SetDatabase(&database)->LoadScheduledEvents();
|
||||
RuleManager::Instance()->SetPostLoadCallback(
|
||||
[&](Database* db) {
|
||||
WorldContentService::Instance()->LoadTargetedRulesets(db);
|
||||
[&]() {
|
||||
WorldContentService::Instance()->LoadTargetedRulesets();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user