fix initial rounds selection off by one
This commit is contained in:
parent
921db0e9eb
commit
1efbf8df4f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue