fix: Fixes Point2D ctor (#1340)

This commit is contained in:
Kamron Batman 2023-02-13 23:28:23 -08:00 • committed by GitHub
parent f24c6a08dd
commit 65c196a8ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 45 additions and 35 deletions

View file

@ -1352,7 +1352,7 @@ public abstract class BaseAI
var distance = m_Mobile.GetDistanceToSqrt(target);
if (!(distance is < 1 or > 15))
if (distance is not (< 1 or > 15))
{
DoMove(m_Mobile.GetDirectionTo(target));
return true;