Ignore weather on rooved tiles (#35214)
Might want more flexibility in future but weather needs some polish and this is fine for now.
This commit is contained in:
parent
180c2610b1
commit
e584720914
|
|
@ -44,6 +44,9 @@ public abstract class SharedWeatherSystem : EntitySystem
|
|||
if (tileRef.Tile.IsEmpty)
|
||||
return true;
|
||||
|
||||
if ((tileRef.Tile.Flags & (byte) TileFlag.Roof) == (byte) TileFlag.Roof)
|
||||
return false;
|
||||
|
||||
var tileDef = (ContentTileDefinition) _tileDefManager[tileRef.Tile.TypeId];
|
||||
|
||||
if (!tileDef.Weather)
|
||||
|
|
|
|||
Loading…
Reference in New Issue