* Revert "Fix chat bubbles (#25643)" This reverts commit23d2c4d924. * Revert "Fixes obsolete Transform warnings in Content. (#25256)" This reverts commitf284b43ff6.
This commit is contained in:
@@ -220,7 +220,7 @@ public abstract partial class SharedTetherGunSystem : EntitySystem
|
||||
_blocker.UpdateCanMove(target);
|
||||
|
||||
// Invisible tether entity
|
||||
var tether = Spawn("TetherEntity", TransformSystem.GetMapCoordinates(target));
|
||||
var tether = Spawn("TetherEntity", Transform(target).MapPosition);
|
||||
var tetherPhysics = Comp<PhysicsComponent>(tether);
|
||||
component.TetherEntity = tether;
|
||||
_physics.WakeBody(tether);
|
||||
|
||||
@@ -35,7 +35,7 @@ public abstract partial class SharedGunSystem
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
ManualCycle(uid, component, TransformSystem.GetMapCoordinates(uid), args.User);
|
||||
ManualCycle(uid, component, Transform(uid).MapPosition, args.User);
|
||||
args.Handled = true;
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ public abstract partial class SharedGunSystem
|
||||
{
|
||||
Text = Loc.GetString("gun-ballistic-cycle"),
|
||||
Disabled = GetBallisticShots(component) == 0,
|
||||
Act = () => ManualCycle(uid, component, TransformSystem.GetMapCoordinates(uid), args.User),
|
||||
Act = () => ManualCycle(uid, component, Transform(uid).MapPosition, args.User),
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -431,7 +431,8 @@ public abstract partial class SharedGunSystem : EntitySystem
|
||||
var coordinates = xform.Coordinates;
|
||||
coordinates = coordinates.Offset(offsetPos);
|
||||
|
||||
TransformSystem.SetCoordinates(entity, xform, coordinates, Random.NextAngle());
|
||||
TransformSystem.SetLocalRotation(xform, Random.NextAngle());
|
||||
TransformSystem.SetCoordinates(entity, xform, coordinates);
|
||||
|
||||
// decides direction the casing ejects and only when not cycling
|
||||
if (angle != null)
|
||||
|
||||
Reference in New Issue
Block a user