Fix variantize command not respecting tile rotation (#39314)

Oopsiedoodle
This commit is contained in:
SlamBamActionman 2025-08-01 13:46:59 +02:00 committed by Vanessa
parent 7a478bbcad
commit 9e0397d60e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public sealed class VariantizeCommand : IConsoleCommand
foreach (var tile in mapsSystem.GetAllTiles(euid.Value, gridComp))
{
var def = turfSystem.GetContentTileDefinition(tile);
var newTile = new Tile(tile.Tile.TypeId, tile.Tile.Flags, tileSystem.PickVariant(def));
var newTile = new Tile(tile.Tile.TypeId, tile.Tile.Flags, tileSystem.PickVariant(def), tile.Tile.RotationMirroring);
mapsSystem.SetTile(euid.Value, gridComp, tile.GridIndices, newTile);
}
}