Fix pickup animation incorrect coordinate usage.
Animation finalPosition was world position, while initialPosition was local position.
This commit is contained in:
@@ -116,7 +116,7 @@ namespace Content.Client.Storage
|
||||
for (var i = 0; msg.StoredEntities.Count > i; i++)
|
||||
{
|
||||
var entityId = msg.StoredEntities[i];
|
||||
var initialPosition = msg.EntityPositions[i];
|
||||
var initialPosition = msg.EntityPositions[i].ToMap(Owner.EntityManager);
|
||||
|
||||
if (Owner.EntityManager.TryGetEntity(entityId, out var entity))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user