add limited rerolls back

This commit is contained in:
James 2024-04-21 12:45:17 +01:00
parent 1779f3d448
commit cd53c4b08d

View file

@ -61,7 +61,7 @@ public class Game extends ApplicationAdapter {
if (input.isKeyJustPressed(Input.Keys.R) && round.getRerolls() > 0) { //reroll dice that aren't locked
reroll();
round.reduceRerolls(0);
round.reduceRerolls(1);
}
if (input.isKeyPressed(Input.Keys.SHIFT_LEFT)) {