* Revert "Fix chat bubbles (#25643)" This reverts commit23d2c4d924. * Revert "Fixes obsolete Transform warnings in Content. (#25256)" This reverts commitf284b43ff6.
This commit is contained in:
@@ -38,7 +38,6 @@ public sealed class RCDSystem : EntitySystem
|
||||
[Dependency] private readonly TagSystem _tag = default!;
|
||||
[Dependency] private readonly TurfSystem _turf = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _xformSystem = default!;
|
||||
|
||||
private readonly int RcdModeCount = Enum.GetValues(typeof(RcdMode)).Length;
|
||||
|
||||
@@ -199,7 +198,7 @@ public sealed class RCDSystem : EntitySystem
|
||||
if (_net.IsServer)
|
||||
{
|
||||
var ent = Spawn("WallSolid", mapGrid.GridTileToLocal(snapPos));
|
||||
_xformSystem.SetLocalRotation(ent, Angle.Zero); // Walls always need to point south.
|
||||
Transform(ent).LocalRotation = Angle.Zero; // Walls always need to point south.
|
||||
_adminLogger.Add(LogType.RCD, LogImpact.High, $"{ToPrettyString(args.User):user} used RCD to spawn {ToPrettyString(ent)} at {snapPos} on grid {tile.GridUid}");
|
||||
}
|
||||
break;
|
||||
@@ -208,7 +207,7 @@ public sealed class RCDSystem : EntitySystem
|
||||
if (_net.IsServer)
|
||||
{
|
||||
var airlock = Spawn("Airlock", mapGrid.GridTileToLocal(snapPos));
|
||||
_xformSystem.SetLocalRotation(airlock, Transform(uid).LocalRotation); //Now apply icon smoothing.
|
||||
Transform(airlock).LocalRotation = Transform(uid).LocalRotation; //Now apply icon smoothing.
|
||||
_adminLogger.Add(LogType.RCD, LogImpact.High, $"{ToPrettyString(args.User):user} used RCD to spawn {ToPrettyString(airlock)} at {snapPos} on grid {tile.GridUid}");
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user