From 23b3fbb321e68c78fa4ceda608de44ea1a8fd585 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 13 三月 2019 17:25:16 +0800
Subject: [PATCH] 6328 【后端】优化代码eval - 二进制流 不能直接输出
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py
index 8288db0..4e52c5d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChItem.py
@@ -1531,7 +1531,7 @@
return
# 使用拍品
- if not curItem.GetIsBind():
+ if curItem.GetIsBind():
DoLogic_PlayerUseAuctionItem(curPlayer, curItem)
return
@@ -1548,7 +1548,7 @@
playerID = curPlayer.GetPlayerID()
itemID = curItem.GetItemTypeID()
- curItem.SetIsBind(1) # 设置为非拍品
+ curItem.SetIsBind(0) # 设置为非拍品
curItem.ClearUserAttr(ShareDefine.Def_IudetAuctionItemCreateTime)
GameWorld.DebugLog("玩家使用拍品: itemID=%s" % (itemID), playerID)
--
Gitblit v1.8.0