Merge pull request #686 from shea851/GetWorldTime_fix

Packet sends with sz 0 do not work on Linux
This commit is contained in:
Chris Miles 2018-01-08 20:44:01 -06:00 committed by GitHub
commit 91da1305a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1515,7 +1515,7 @@ void Zone::Repop(uint32 delay) {
void Zone::GetTimeSync()
{
if (worldserver.Connected() && !zone_has_current_time) {
auto pack = new ServerPacket(ServerOP_GetWorldTime, 0);
auto pack = new ServerPacket(ServerOP_GetWorldTime, 1);
worldserver.SendPacket(pack);
safe_delete(pack);
}