Files
OpenRA/OpenRA.Mods.Common/MapGenerator/MultiBrush.cs
Ashley Newson 9478548bdb Allow empty MultiBrush with Replaceability.Any
Painting a MultiBrush previously required it to be non-empty. When
using Replaceability.Any, this is unlikely to be the desire behavior,
as some utilities (such as the upcoming LatTiler and RampTiler) may
reasonably generate an empty MultiBrush as output.

This changes painting MultiBrushes using Replaceability.Any to be
effectively no-ops. The .Tile and .Actor cases still use checks, as
these still plausibly represent mistakes.
2025-12-01 14:07:28 +02:00

25 KiB