From ec519cae8e5136fa593918628499f969b2bde334 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 16 四月 2021 10:33:06 +0800 Subject: [PATCH] 8873 【BT2】【主干】【后端】新增在线特惠(同步A109封包 主干) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index 94a8b74..fc7d5e5 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -1348,7 +1348,7 @@ if diffSec > 0: curPlayer.SetWeekOnlineTime(curPlayer.GetWeekOnlineTime() + diffSec) curPlayer.SetOnlineTime(curPlayer.GetOnlineTime() + diffSec) - #SyncOnLineTimeTotal(curPlayer) + SyncOnLineTimeTotal(curPlayer) return @@ -1356,7 +1356,6 @@ # @param curPlayer 玩家实例 # @return def SyncOnLineTimeTotal(curPlayer): - return sendPack = ChPyNetSendPack.tagMCOnLineTimeTotal() sendPack.Clear() sendPack.OnLineTimeTotal = curPlayer.GetOnlineTime() -- Gitblit v1.8.0