diff --git a/CHANGELIST.md b/CHANGELIST.md index 80fc8c4a..665acbac 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -58,6 +58,7 @@ - Fix speed dropdown with Redumper - Update redumper to build 585 - Further fix speed dropdown with Redumper +- Use null for 0 speed internally ### 3.3.0 (2025-01-03) diff --git a/MPF.ExecutionContexts/Redumper/ExecutionContext.cs b/MPF.ExecutionContexts/Redumper/ExecutionContext.cs index f8fe1b20..f2023c1d 100644 --- a/MPF.ExecutionContexts/Redumper/ExecutionContext.cs +++ b/MPF.ExecutionContexts/Redumper/ExecutionContext.cs @@ -40,7 +40,7 @@ namespace MPF.ExecutionContexts.Redumper else { this[FlagStrings.Speed] = false; - (_inputs[FlagStrings.Speed] as Int32Input)?.SetValue(0); + (_inputs[FlagStrings.Speed] as Int32Input)?.SetValue(null); } } } @@ -302,7 +302,7 @@ namespace MPF.ExecutionContexts.Redumper else { this[FlagStrings.Speed] = false; - (_inputs[FlagStrings.Speed] as Int32Input)?.SetValue(0); + (_inputs[FlagStrings.Speed] as Int32Input)?.SetValue(null); } // Set user-defined options