From 2f95eaf5e679b2b798d3fa1988636a3795656cce Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 18 四月 2019 19:59:37 +0800
Subject: [PATCH] 6516 【后端】【2.0】战斗公式增加系数
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
index e5612fa..5a3ba64 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
@@ -26,7 +26,6 @@
import IpyGameDataPY
import PlayerViewCache
import PyGameData
-import json
#--------------------社交圈基本结构-------------------
# 社交圈
class SocialPlayers(object):
@@ -723,7 +722,7 @@
playerSocial.RealmLV = 1
playerSocial.OnlineType = ChConfig.Def_Offline
else:
- cacheDict = json.loads(curCache.GetPropData())
+ cacheDict = eval(curCache.GetPropData())
playerSocial.clear()
playerSocial.PlayerID = playerID
--
Gitblit v1.8.0