From 2042bfe7946ede051c38ae1ebe6120fc85a914e9 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Sun, 12 Nov 2023 13:36:30 +0100 Subject: [PATCH] Apply formatting suggestion from Vlad Co-authored-by: Vladislav Stepanov --- UndertaleModLib/Models/UndertaleRoom.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } }