From cd53c4b08dac7ff5008ac08af8ace0865491bd27 Mon Sep 17 00:00:00 2001 From: James <150948866+jameslaight@users.noreply.github.com> Date: Sun, 21 Apr 2024 12:45:17 +0100 Subject: [PATCH] add limited rerolls back --- core/src/com/monjaro/gamejam/main/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/monjaro/gamejam/main/Game.java b/core/src/com/monjaro/gamejam/main/Game.java index e910a30..29cfefa 100644 --- a/core/src/com/monjaro/gamejam/main/Game.java +++ b/core/src/com/monjaro/gamejam/main/Game.java @@ -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)) {