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