From 97d7a06f406306fcff3d5ed233ace792197dc4dd Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 17 十一月 2023 16:53:58 +0800
Subject: [PATCH] 10011 【主干】【港台】【后台】邮件增加类型区分(个人、全服邮件发送及管理支持邮件类型)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
index cebf17f..10bd97f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
@@ -138,7 +138,8 @@
         return
     
     Text = curPackData.Text
-    _, _, content = Text.split("<$_$>")
+    contentList = Text.split("<$_$>")
+    content = contentList[2] if len(contentList) > 2 else ""
     isPaimaiMail = "<MailTemplate>PaimaiMail3</MailTemplate>" in content
     
     for i in xrange(curPackData.Count):

--
Gitblit v1.8.0