Fix issue with game speed patch

This commit is contained in:
2024-09-26 14:41:13 +02:00
parent 1e479005a1
commit 0a48ce2f63

View File

@@ -47,7 +47,7 @@ namespace TavernDave {
[HarmonyPatch(typeof(UiController), "ChangeGameSpeed")]
public static void PrefixSpeed(ref int gameSpeed) {
Console.WriteLine($"Game speed is {gameSpeed}");
if (gameSpeed > 0) {
if (gameSpeed > 1) {
gameSpeed = Main.fastSpeed.Value;
Console.WriteLine($"Game speed modified to {gameSpeed}");
}