Fix Trading bug and Mods Revenge.

This commit is contained in:
SilicaAndPina 2021-05-11 22:36:46 +12:00
parent 5fedb7841d
commit b5ae6946a9
2 changed files with 8 additions and 3 deletions

View file

@ -4671,7 +4671,8 @@ namespace HISP.Server
// Cancel Trades
if (loggedInUser.TradingWith != null)
loggedInUser.TradingWith.CancelTradeMoved();
if((loggedInUser.TradingWith.Trader.X != loggedInUser.X) && (loggedInUser.TradingWith.Trader.Y != loggedInUser.Y))
loggedInUser.TradingWith.CancelTradeMoved();
loggedInUser.PendingBuddyRequestTo = null;
// Close Social Windows