* After casting a spell, the player was always faced south (#1148)

This commit is contained in:
mark1145 2022-08-27 10:49:39 +10:00 committed by GitHub
parent 76ac5ce3aa
commit 42f2c7f6ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ namespace Server.Spells
from.Direction = from.GetDirectionTo(item.GetWorldLocation());
}
}
else if (from.Equals(target))
else if (!from.Equals(target))
{
from.Direction = from.GetDirectionTo(target);
}