diff --git a/core/src/ionium/util/i18n/Localization.java b/core/src/ionium/util/i18n/Localization.java index b78b45ed1..072fc61ae 100644 --- a/core/src/ionium/util/i18n/Localization.java +++ b/core/src/ionium/util/i18n/Localization.java @@ -70,14 +70,16 @@ public static String get(String key, Object... params) { } public void nextLanguage(int advance) { - if (advance == 0) return; + if (advance == 0) { + return; + } int currentIndex = 0; for (int i = 0; i < bundles.size; i++) { if (bundles.get(i) == selectedBundle) { currentIndex = i; - return; + break; } }