* Revert "Fix chat bubbles (#25643)" This reverts commit23d2c4d924. * Revert "Fixes obsolete Transform warnings in Content. (#25256)" This reverts commitf284b43ff6.
This commit is contained in:
@@ -19,8 +19,6 @@ public abstract class BaseEntityReplaceVariationPassSystem<TEntComp, TGameRuleCo
|
||||
where TEntComp: IComponent
|
||||
where TGameRuleComp: IComponent
|
||||
{
|
||||
[Dependency] private readonly SharedTransformSystem _xformSystem = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Used so we don't modify while enumerating
|
||||
/// if the replaced entity also has <see cref="TEntComp"/>.
|
||||
@@ -57,7 +55,7 @@ public abstract class BaseEntityReplaceVariationPassSystem<TEntComp, TGameRuleCo
|
||||
{
|
||||
var (spawn, coords, rot) = tup;
|
||||
var newEnt = Spawn(spawn, coords);
|
||||
_xformSystem.SetLocalRotation(newEnt, rot);
|
||||
Transform(newEnt).LocalRotation = rot;
|
||||
}
|
||||
|
||||
Log.Debug($"Entity replacement took {stopwatch.Elapsed} with {Stations.GetTileCount(args.Station)} tiles");
|
||||
|
||||
Reference in New Issue
Block a user