Implement inflatable wall (#3703)
* Implement inflatable wall * Actually block atmos * Fix naming and add description * Add requested changes * Change prototype to field * Refactor checks to use existing methods * Fix PrototypeIdSerializer imports * Fix mass in yaml
This commit is contained in:
@@ -58,9 +58,9 @@ namespace Content.Shared.Maps
|
||||
return tile;
|
||||
}
|
||||
|
||||
public static bool TryGetTileRef(this EntityCoordinates coordinates, [NotNullWhen(true)] out TileRef? turf)
|
||||
public static bool TryGetTileRef(this EntityCoordinates coordinates, [NotNullWhen(true)] out TileRef? turf, IEntityManager? entityManager = null, IMapManager? mapManager = null)
|
||||
{
|
||||
return (turf = coordinates.GetTileRef()) != null;
|
||||
return (turf = coordinates.GetTileRef(entityManager, mapManager)) != null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user