fix initial rounds selection off by one

This commit is contained in:
interfisch 2025-04-13 14:58:15 +02:00
parent 921db0e9eb
commit 1efbf8df4f

View file

@ -35,7 +35,7 @@ func getFastModeChance():
func getRounds() -> int: func getRounds() -> int:
if rounds<=0: #if no rounds setting configured, use from config file 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: if loadedRounds>0:
rounds=loadedRounds rounds=loadedRounds
return rounds return rounds