From 602b99c9fb6683c370895da704049dd47233d7f0 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Fri, 28 Jul 2017 17:26:56 +0300 Subject: [PATCH] Fixed hulls not being rendered in the sub editor --- Barotrauma/BarotraumaClient/Source/Map/Hull.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaClient/Source/Map/Hull.cs b/Barotrauma/BarotraumaClient/Source/Map/Hull.cs index 0c6418199..d3bfc1c15 100644 --- a/Barotrauma/BarotraumaClient/Source/Map/Hull.cs +++ b/Barotrauma/BarotraumaClient/Source/Map/Hull.cs @@ -169,7 +169,7 @@ namespace Barotrauma public override void Draw(SpriteBatch spriteBatch, bool editing, bool back = true) { - if (back) + if (back && Screen.Selected != GameMain.EditMapScreen) { DrawDecals(spriteBatch); return;