diff --git a/UndertaleModLib/Models/UndertaleRoom.cs b/UndertaleModLib/Models/UndertaleRoom.cs index 004918884..1a6af6958 100644 --- a/UndertaleModLib/Models/UndertaleRoom.cs +++ b/UndertaleModLib/Models/UndertaleRoom.cs @@ -239,7 +239,8 @@ public Layer BGColorLayer { return (_layers?.Where(l => l.LayerType is LayerType.Background && l.BackgroundData.Sprite is null - && l.BackgroundData.Color != 0)).MinBy(l => l.LayerDepth); + && l.BackgroundData.Color != 0)) + .MinBy(l => l.LayerDepth); } }