Fix potential crash in zone/worldserver.cpp

This commit is contained in:
Michael Cook (mackal) 2016-08-13 17:15:57 -04:00
parent 69f06f736c
commit 35c1eccbe1

View File

@ -765,7 +765,7 @@ void WorldServer::Process() {
zone->SetZoneHasCurrentTime(true); zone->SetZoneHasCurrentTime(true);
} }
if (zone->is_zone_time_localized){ if (zone && zone->is_zone_time_localized){
Log.Out(Logs::General, Logs::Zone_Server, "Received request to sync time from world, but our time is localized currently"); Log.Out(Logs::General, Logs::Zone_Server, "Received request to sync time from world, but our time is localized currently");
} }
break; break;