diff --git a/UXAssist/Patches/Factory/FactoryPatch.cs b/UXAssist/Patches/Factory/FactoryPatch.cs index 063e41b..9960aaa 100644 --- a/UXAssist/Patches/Factory/FactoryPatch.cs +++ b/UXAssist/Patches/Factory/FactoryPatch.cs @@ -196,6 +196,7 @@ public static class FactoryPatch public static void OnInputUpdate() { + if (DSPGame.IsMenuDemo) return; if (_doNotRenderEntitiesKey.keyValue) DoNotRenderEntitiesEnabled.Value = !DoNotRenderEntitiesEnabled.Value; if (CutConveyorBeltEnabled.Value && _cutConveyorBeltKey.keyValue) diff --git a/UXAssist/Patches/Logistics/LogisticsPatch.cs b/UXAssist/Patches/Logistics/LogisticsPatch.cs index d5a18cb..a73ceab 100644 --- a/UXAssist/Patches/Logistics/LogisticsPatch.cs +++ b/UXAssist/Patches/Logistics/LogisticsPatch.cs @@ -97,6 +97,7 @@ public static class LogisticsPatch public static void OnInputUpdate() { + if (DSPGame.IsMenuDemo) return; if (VFInput.onGUI && LogisticsCapacityTweaksEnabled.Value) { LogisticsCapacityTweaks.UpdateInput();