From 89c6ea806387687bfec9807f1bb4a8fca4e393db Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 7 Aug 2021 18:13:00 -0400 Subject: [PATCH] v0.9.4: fixed translator credits appearing empty when there are no reviewers --- .../shatteredpixeldungeon/windows/WndSettings.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java index 3649ca375..618888ac7 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/windows/WndSettings.java @@ -839,6 +839,9 @@ public class WndSettings extends WndTabbed { if (reviewers.length > 0) { creds += Messages.titleCase(Messages.get(LangsTab.this, "reviewers")); creds2 += ""; + } + + if (translators.length > 0){ boolean col2 = false; for (i = 0; i < total.size(); i++) { if (i == translatorIdx){