Inline Transform
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Content.Server.Atmos.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
gridId = player.AttachedEntity.Transform.GridID;
|
||||
gridId = IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(player.AttachedEntity.Uid).GridID;
|
||||
|
||||
if (gridId == GridId.Invalid)
|
||||
{
|
||||
@@ -65,7 +65,7 @@ namespace Content.Server.Atmos.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
gridId = player.AttachedEntity.Transform.GridID;
|
||||
gridId = IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(player.AttachedEntity.Uid).GridID;
|
||||
|
||||
if (gridId == GridId.Invalid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user