Use null for 0 speed internally

This commit is contained in:
Matt Nadareski
2025-05-22 08:21:06 -04:00
parent e9a84e5429
commit cfac607c7d
2 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -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