From 1efbf8df4f9dfc1cfa0768c76fd1305fd5f1dbf9 Mon Sep 17 00:00:00 2001 From: Fisch Date: Sun, 13 Apr 2025 14:58:15 +0200 Subject: [PATCH] fix initial rounds selection off by one --- scripts/gamestate.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gamestate.gd b/scripts/gamestate.gd index 276a772..f199081 100644 --- a/scripts/gamestate.gd +++ b/scripts/gamestate.gd @@ -35,7 +35,7 @@ func getFastModeChance(): func getRounds() -> int: if rounds<=0: #if no rounds setting configured, use from config file - var loadedRounds:int=ConfigFileHandler.get_general_setting("rounds")-1 + var loadedRounds:int=ConfigFileHandler.get_general_setting("rounds") if loadedRounds>0: rounds=loadedRounds return rounds