From b68b87d4750b31cb318bb7724f13fbe6a67c21be Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Thu, 14 May 2026 10:43:16 +0200 Subject: [PATCH] Cleanup --- src/ReactorMaintenance.Godot/Controls/GridViewport.cs | 2 +- src/ReactorMaintenance.Godot/ReactorMaintenance.Godot.csproj | 2 +- .../Systems/RobotSafetySystem.cs | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/ReactorMaintenance.Godot/Controls/GridViewport.cs b/src/ReactorMaintenance.Godot/Controls/GridViewport.cs index 2eb0ab0..bbe565e 100644 --- a/src/ReactorMaintenance.Godot/Controls/GridViewport.cs +++ b/src/ReactorMaintenance.Godot/Controls/GridViewport.cs @@ -135,7 +135,7 @@ public partial class GridViewport : Control private void DrawFallbackTerrainTile(Rect2 rect, int floorMask, float opacity) { - var color = floorMask == c_AllCorners ? new Color(0.13f, 0.16f, 0.17f, opacity) : new Color(0.18f, 0.20f, 0.22f, opacity); + var color = floorMask == c_AllCorners ? new(0.13f, 0.16f, 0.17f, opacity) : new Color(0.18f, 0.20f, 0.22f, opacity); DrawRect(rect, color); } diff --git a/src/ReactorMaintenance.Godot/ReactorMaintenance.Godot.csproj b/src/ReactorMaintenance.Godot/ReactorMaintenance.Godot.csproj index fecc773..200aa93 100644 --- a/src/ReactorMaintenance.Godot/ReactorMaintenance.Godot.csproj +++ b/src/ReactorMaintenance.Godot/ReactorMaintenance.Godot.csproj @@ -8,6 +8,6 @@ - + diff --git a/src/ReactorMaintenance.Simulation/Systems/RobotSafetySystem.cs b/src/ReactorMaintenance.Simulation/Systems/RobotSafetySystem.cs index 0d145d2..d6e611b 100644 --- a/src/ReactorMaintenance.Simulation/Systems/RobotSafetySystem.cs +++ b/src/ReactorMaintenance.Simulation/Systems/RobotSafetySystem.cs @@ -2,11 +2,6 @@ internal static class RobotSafetySystem { - public static LevelState Resolve(LevelState level) - { - return level; - } - public static LevelState ResolveEntry(LevelState level) { var surface = level.GetSurface(level.Robot.Position);