[Cleanup] Utilize GetScheduler() in zone/worldserver.cpp (#3093)

# Notes
- This was unused.
This commit is contained in:
Alex King 2023-03-17 06:20:13 -04:00 committed by GitHub
parent ccd9bd7d4c
commit 06f1f36c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3151,7 +3151,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
}
case ServerOP_UpdateSchedulerEvents: {
LogScheduler("Received signal from world to update");
if (m_zone_scheduler) {
if (GetScheduler()) {
m_zone_scheduler->LoadScheduledEvents();
}