Fix adjacent tile atmosphere creation using the wrong coordinates. (#9539)
This commit is contained in:
committed by
GitHub
parent
520464e89b
commit
4917943c3d
@@ -333,8 +333,8 @@ public sealed partial class AtmosphereSystem
|
|||||||
if (!component.Tiles.TryGetValue(otherIndices, out var adjacent))
|
if (!component.Tiles.TryGetValue(otherIndices, out var adjacent))
|
||||||
{
|
{
|
||||||
adjacent = new TileAtmosphere(tile.GridIndex, otherIndices,
|
adjacent = new TileAtmosphere(tile.GridIndex, otherIndices,
|
||||||
GetTileMixture(uid, mapUid, args.Tile),
|
GetTileMixture(null, mapUid, otherIndices),
|
||||||
space:IsTileSpace(uid, mapUid, otherIndices, mapGridComp));
|
space:IsTileSpace(null, mapUid, otherIndices, mapGridComp));
|
||||||
}
|
}
|
||||||
|
|
||||||
var oppositeDirection = direction.GetOpposite();
|
var oppositeDirection = direction.GetOpposite();
|
||||||
|
|||||||
Reference in New Issue
Block a user