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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user