From da7838b9cd1bb233142e9af274b791aaaecc0642 Mon Sep 17 00:00:00 2001 From: Tercio Date: Sun, 7 Aug 2016 17:09:51 -0300 Subject: [PATCH] - realm sync shutdown, TimeAttack plugin won't be able to get other players DPS results, but nobody was using it anyway. --- core/network.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/network.lua b/core/network.lua index 1fef4b2e..ca723da2 100644 --- a/core/network.lua +++ b/core/network.lua @@ -22,6 +22,8 @@ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --> constants + local CONST_REALM_SYNC_ENABLED = false + local CONST_DETAILS_PREFIX = "DTLS" local CONST_HIGHFIVE_REQUEST = "HI" @@ -551,7 +553,7 @@ --> entrar no canal após logar no servidor function _detalhes:EnterChatChannel() - if (not _detalhes.realm_sync) then + if (not _detalhes.realm_sync or not CONST_REALM_SYNC_ENABLED) then return end @@ -590,7 +592,7 @@ end function _detalhes:LeaveChatChannel() - if (not _detalhes.realm_sync) then + if (not _detalhes.realm_sync or not CONST_REALM_SYNC_ENABLED) then return end @@ -652,7 +654,7 @@ end function _detalhes:CheckChatOnZoneChange() - if (not _detalhes.realm_sync) then + if (not _detalhes.realm_sync or not CONST_REALM_SYNC_ENABLED) then return end _detalhes:ScheduleTimer ("DoZoneCheck", 2)