修复好友联机时投喂扣了对方的钱的bug

This commit is contained in:
ZouJin 2024-04-01 18:59:22 +08:00
parent b7365fa98f
commit 2a5903a965

View File

@ -384,6 +384,7 @@ public partial class winMutiPlayer : WindowX, IMPWindows
&& item.Strength >= 0 && item.StrengthDrink >= 0 && item.StrengthFood >= 0 && item.Feeling >= 0) && item.Strength >= 0 && item.StrengthDrink >= 0 && item.StrengthFood >= 0 && item.Feeling >= 0)
{//单次联机收礼物上限1000 {//单次联机收礼物上限1000
giveprice += item.Price; giveprice += item.Price;
mw.Core.Save.Money += item.Price;
mw.TakeItem(feed.Item); mw.TakeItem(feed.Item);
} }
} }