From d5a1a6246ae6f4e46183b6713930773377666d7e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 13 十一月 2018 12:01:41 +0800
Subject: [PATCH] 2683 子 天赋技能和新增双职业各两个技能 / 【后端】天赋技能  --- 优化4508代码

---
 ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py b/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py
index c57ad42..ef9b24e 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/NetPackCommon.py
@@ -205,7 +205,8 @@
         
     except Exception:
         Log("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc())
-        #raise Exception("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc())
+        if GameWorld.GetGameWorld().GetDebugLevel():
+            raise Exception("python自定义封包解析失败~~~~~\r\n%s" % traceback.format_exc())
         return 
     
     

--
Gitblit v1.8.0