|
|
@@ -144,7 +144,7 @@ namespace Fort23.Mono
|
|
|
if (widgetItem1 != null && daoyouGiftConfig.ID != 0)
|
|
|
{
|
|
|
//TODO 消耗:送礼给道友
|
|
|
- if (PlayerManager.Instance.BagController.DeductItem(daoyouGiftConfig.ItemID, count))
|
|
|
+ if (!PlayerManager.Instance.BagController.DeductItem(daoyouGiftConfig.ItemID, count))
|
|
|
{
|
|
|
TipMessagePanel.OpenTipMessagePanel(10324);
|
|
|
return;
|
|
|
@@ -205,7 +205,7 @@ namespace Fort23.Mono
|
|
|
}
|
|
|
|
|
|
//TODO 消耗:送礼给道友
|
|
|
- if (PlayerManager.Instance.BagController.DeductItem(widgetItem1.itemInfo.itemID, count))
|
|
|
+ if (!PlayerManager.Instance.BagController.DeductItem(widgetItem1.itemInfo.itemID, count))
|
|
|
{
|
|
|
TipMessagePanel.OpenTipMessagePanel(10324);
|
|
|
return;
|