mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
Replace obsolete EntityCoordiates.InRange() with TransformSystem.InRange() (#29993)
* Replace EntityCoordiates.InRange() with TransformSystem.InRange() * nullspace * I figured it out * man I have no clue how client side sutff works * please have mercy * remove RadiationPulseOverlay changes * nullspace --------- Co-authored-by: plykiya <plykiya@protonmail.com> (cherry picked from commit b7aa97e2030c0b01d07a76b4ee291fe2c8be95fa)
This commit is contained in:
@@ -654,7 +654,7 @@ public abstract class SharedActionsSystem : EntitySystem
|
||||
if (range <= 0)
|
||||
return true;
|
||||
|
||||
return coords.InRange(EntityManager, _transformSystem, Transform(user).Coordinates, range);
|
||||
return _transformSystem.InRange(coords, Transform(user).Coordinates, range);
|
||||
}
|
||||
|
||||
return _interactionSystem.InRangeUnobstructed(user, coords, range: range);
|
||||
|
||||
Reference in New Issue
Block a user