Various sharedsystem spring cleaning (#36200)
* Various shared system warnings cleanup * More shared system warnings cleanup * Rearranging changes * Using correct transform for unbuckle * Small changes * Revert buckle change * Update Content.Shared/Ghost/SharedGhostSystem.cs --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Content.Shared.Tabletop
|
||||
// Move the entity and dirty it (we use the map ID from the entity so noone can try to be funny and move the item to another map)
|
||||
var transform = EntityManager.GetComponent<TransformComponent>(moved);
|
||||
Transforms.SetParent(moved, transform, _mapMan.GetMapEntityId(transform.MapID));
|
||||
Transforms.SetLocalPositionNoLerp(transform, msg.Coordinates.Position);
|
||||
Transforms.SetLocalPositionNoLerp(moved, msg.Coordinates.Position, transform);
|
||||
}
|
||||
|
||||
private void OnDraggingPlayerChanged(TabletopDraggingPlayerChangedEvent msg, EntitySessionEventArgs args)
|
||||
|
||||
Reference in New Issue
Block a user