mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Bug Fix] Urgent - Previous fix for TimeSync on static zones broke dynamic zones. (#1605)
* [BugFix] Urgent - Previous fix for TimeSync on static zones broke dynamic zones * Use local variable instead of inline accessor for consistancy. Co-authored-by: Noudess <noudess@gmail.com>
This commit is contained in:
parent
9c67421ccc
commit
203ba2d340
@ -150,10 +150,19 @@ bool Zone::Bootup(uint32 iZoneID, uint32 iInstanceID, bool iStaticZone) {
|
||||
}
|
||||
|
||||
LogInfo("---- Zone server [{}], listening on port:[{}] ----", zonename, ZoneConfig::get()->ZonePort);
|
||||
LogInfo("Zone Bootup: [{}] ([{}]: [{}])", zonename, iZoneID, iInstanceID);
|
||||
LogInfo("Zone Bootup: [{}] [{}] ([{}]: [{}])",
|
||||
(iStaticZone) ? "Static" : "Dynamic", zonename, iZoneID, iInstanceID);
|
||||
parse->Init();
|
||||
UpdateWindowTitle(nullptr);
|
||||
|
||||
// Dynamic zones need to Sync here.
|
||||
// Static zones sync when they connect in worldserver.cpp.
|
||||
// Static zones cannot sync here as request is ignored by worldserver.
|
||||
if (!iStaticZone)
|
||||
{
|
||||
zone->GetTimeSync();
|
||||
}
|
||||
|
||||
zone->RequestUCSServerStatus();
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user