chore: Code Cleanup (#1239)

This commit is contained in:
Kamron Batman 2022-11-10 22:49:25 -08:00 committed by GitHub
parent 4eee508358
commit 6426996f29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 6 additions and 15 deletions

View file

@ -61,11 +61,7 @@ public static class IncomingTargetingPackets
// User pressed escape
t.Cancel(from, TargetCancelType.Canceled);
}
else if (t.TargetID != targetID)
{
// Sanity, prevent fake target
}
else
else if (t.TargetID == targetID)
{
object toTarget;