Revert "Fix chat bubbles (#25643)" (#25645)

* Revert "Fix chat bubbles (#25643)"

This reverts commit 23d2c4d924.

* Revert "Fixes obsolete Transform warnings in Content. (#25256)"

This reverts commit f284b43ff6.
This commit is contained in:
metalgearsloth
2024-02-28 00:51:20 +11:00
committed by GitHub
parent d204896bf5
commit a9502be29e
154 changed files with 435 additions and 611 deletions

View File

@@ -126,18 +126,18 @@ public sealed partial class ReplaySpectatorSystem
if (data.Local != null && data.Local.Value.Coords.IsValid(EntityManager))
{
var (newUid, newXform) = SpawnSpectatorGhost(data.Local.Value.Coords, false);
_transform.SetLocalRotation(newUid, data.Local.Value.Rot, newXform);
var newXform = SpawnSpectatorGhost(data.Local.Value.Coords, false);
newXform.LocalRotation = data.Local.Value.Rot;
}
else if (data.World != null && data.World.Value.Coords.IsValid(EntityManager))
{
var (newUid, newXform) = SpawnSpectatorGhost(data.World.Value.Coords, true);
_transform.SetLocalRotation(newUid, data.World.Value.Rot, newXform);
var newXform = SpawnSpectatorGhost(data.World.Value.Coords, true);
newXform.LocalRotation = data.World.Value.Rot;
}
else if (TryFindFallbackSpawn(out var coords))
{
var (newUid, newXform) = SpawnSpectatorGhost(coords, true);
_transform.SetLocalRotation(newUid, 0, newXform);
var newXform = SpawnSpectatorGhost(coords, true);
newXform.LocalRotation = 0;
}
else
{