From 2aefdb232d9d635d82dc64516e66fd79b582c9bb Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期六, 25 五月 2019 11:31:17 +0800 Subject: [PATCH] 6501 增加宝石任务接口 --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerViewCache.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerViewCache.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerViewCache.py index b563069..7c5686e 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerViewCache.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerViewCache.py @@ -31,7 +31,7 @@ import json import time -def DoOnDay(): +def DoOnDayEx(): DelOutofTimeViewCacheData() return @@ -85,7 +85,7 @@ ## 删除玩家缓存 pyViewCacheMgr = PyDataManager.GetPlayerViewCachePyManager() playerViewCachePyDict = pyViewCacheMgr.playerViewCachePyDict - playerViewCachePyDict.pop(playerID) + playerViewCachePyDict.pop(playerID, None) GameWorld.DebugLog("删除查看缓存!", playerID) return -- Gitblit v1.8.0