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:
metalgearsloth
2025-02-17 02:55:41 +11:00
committed by GitHub
parent 7eebb96e1e
commit 1984235f0f

View File

@@ -43,6 +43,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)