[Refactor] Fix GameController
This commit is contained in:
@@ -87,10 +87,10 @@ namespace YachtDice.UI
|
||||
}
|
||||
}
|
||||
|
||||
public void ResetForNewGame()
|
||||
public void ResetForNewGame(int maxRolls = 3)
|
||||
{
|
||||
ResetForNewTurn();
|
||||
SetRollButtonState(true, 0, 3);
|
||||
SetRollButtonState(true, 0, maxRolls);
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
|
||||
Reference in New Issue
Block a user