From 33f1d7b839236d123ba8dfaa6054dec675b26f52 Mon Sep 17 00:00:00 2001 From: Jonah Bauer Date: Sun, 16 Jan 2022 23:47:36 +0100 Subject: [PATCH] fixed bug in ChangePredictionOverlay --- .../client/libgdx/actions/overlay/MakePredictionOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard-client/wizard-client-libgdx/core/src/main/java/eu/jonahbauer/wizard/client/libgdx/actions/overlay/MakePredictionOverlay.java b/wizard-client/wizard-client-libgdx/core/src/main/java/eu/jonahbauer/wizard/client/libgdx/actions/overlay/MakePredictionOverlay.java index cb2232c..ea5a483 100644 --- a/wizard-client/wizard-client-libgdx/core/src/main/java/eu/jonahbauer/wizard/client/libgdx/actions/overlay/MakePredictionOverlay.java +++ b/wizard-client/wizard-client-libgdx/core/src/main/java/eu/jonahbauer/wizard/client/libgdx/actions/overlay/MakePredictionOverlay.java @@ -55,7 +55,7 @@ public class MakePredictionOverlay extends Overlay implements InteractionOverlay }; for (int i = 0; i < values.length; i++) { - buttons[i] = new TextButton(String.valueOf(i), skin); + buttons[i] = new TextButton(String.valueOf(values[i]), skin); buttons[i].addListener(listener); buttonGroup.addActor(buttons[i]); }