From fd94cf4a58cb44cc2c34e711a2d48a3ec60789ff Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 17 七月 2019 17:28:08 +0800
Subject: [PATCH] 8125 子 【主干】新功能:累计充值 / 【后端】【主干】累计充值

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
index 9adad02..1295897 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldGift.py
@@ -304,7 +304,8 @@
         return
     
     # 给物品
-    for itemID, itemCount in itemList:
+    for itemInfo in itemList:
+        itemID, itemCount = itemInfo[:2]
         ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem])
     
     # 更新已领取成功标记

--
Gitblit v1.8.0