Give pried tiles a random rotation (#5482)

Also made it so they start with a random offset to avoid the additional MoveEvent going out.
This commit is contained in:
metalgearsloth
2021-11-24 04:15:49 +11:00
committed by GitHub
parent 1de82b4324
commit 32c36ad221
2 changed files with 14 additions and 5 deletions

View File

@@ -257,7 +257,7 @@ namespace Content.Server.Atmos.EntitySystems
if (!mapGrid.TryGetTileRef(tile, out var tileRef))
return;
tileRef.PryTile(_mapManager, _tileDefinitionManager, EntityManager);
tileRef.PryTile(_mapManager, _tileDefinitionManager, EntityManager, _robustRandom);
}
#endregion