Resolve 'TransformComponent.MapPosition' is obsolete in content (#27939)
* Resolve `'TransformComponent.MapPosition' is obsolete: 'Use TransformSystem.GetMapCoordinates'` in content * build?
This commit is contained in:
@@ -372,7 +372,7 @@ public sealed class NPCUtilitySystem : EntitySystem
|
||||
if (compQuery.Components.Count == 0)
|
||||
return;
|
||||
|
||||
var mapPos = _xformQuery.GetComponent(owner).MapPosition;
|
||||
var mapPos = _transform.GetMapCoordinates(owner, xform: _xformQuery.GetComponent(owner));
|
||||
_compTypes.Clear();
|
||||
var i = -1;
|
||||
EntityPrototype.ComponentRegistryEntry compZero = default!;
|
||||
|
||||
Reference in New Issue
Block a user