From 990e1af68786c2b88167c2ccd6f2cf95c839794f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 23 八月 2018 22:10:40 +0800
Subject: [PATCH] fix:防范没有技能导致报错

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
index 527d953..3ed8437 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/CTG.py
@@ -39,7 +39,7 @@
         GameWorld.DebugAnswer(curPlayer, "CTG 商品编号 appID 是否增加集市购买额度")
         return
     
-    ctgValue = msgList[0]
+    ctgValue = str(msgList[0])
     if ctgValue.isdigit():
         orderRMB = int(ctgValue)
         isAddBourseMoney = msgList[1] if len(msgList) > 1 else 1

--
Gitblit v1.8.0