1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Fix #24173: Allow all game speeds between 1 and 8 if developer mode is on (#24270)

This commit is contained in:
Joel Teichroeb
2025-08-07 06:10:24 -04:00
committed by GitHub
parent 9e89332462
commit a146f38194
4 changed files with 4 additions and 3 deletions

View File

@@ -904,7 +904,7 @@ static void ConsoleCommandSet(InteractiveConsole& console, const arguments_t& ar
}
else if (varName == "game_speed" && InvalidArguments(&invalidArgs, int_valid[0]))
{
ConsoleSetVariableAction<GameSetSpeedAction>(console, varName, std::clamp(int_val[0], 1, 8));
ConsoleSetVariableAction<GameSetSpeedAction>(console, varName, int_val[0]);
}
else if (varName == "console_small_font" && InvalidArguments(&invalidArgs, int_valid[0]))
{