mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复好友联机时投喂扣了对方的钱的bug
This commit is contained in:
parent
b7365fa98f
commit
2a5903a965
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user