From 48c1e8ac39c5dd89d4cfc56853aef300a044d6e7 Mon Sep 17 00:00:00 2001 From: Eno9991 Date: Fri, 25 Aug 2023 22:02:14 +0200 Subject: [PATCH] Add config entry to enable/disable Polus map modifications --- BetterPolus/Patches/ShipStatusPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BetterPolus/Patches/ShipStatusPatches.cs b/BetterPolus/Patches/ShipStatusPatches.cs index d2cc5c7..69719f2 100644 --- a/BetterPolus/Patches/ShipStatusPatches.cs +++ b/BetterPolus/Patches/ShipStatusPatches.cs @@ -50,7 +50,7 @@ public static class ShipStatusPatches private static void ApplyChanges(ShipStatus instance) { - if (instance.Type == ShipStatus.MapType.Pb) + if (instance.Type == ShipStatus.MapType.Pb && BetterPolusPlugin.Enabled.Value) { FindPolusObjects(); AdjustPolus();