From dc27a0951c90b031de5f89ba437fa1906b80ca8c Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 8 Jan 2026 22:02:57 -0500 Subject: [PATCH] Fixed broken keyboard focus after loading --- core/src/mindustry/ui/fragments/LoadingFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/mindustry/ui/fragments/LoadingFragment.java b/core/src/mindustry/ui/fragments/LoadingFragment.java index 6d8b4261ee..ec55e99001 100644 --- a/core/src/mindustry/ui/fragments/LoadingFragment.java +++ b/core/src/mindustry/ui/fragments/LoadingFragment.java @@ -111,6 +111,9 @@ public class LoadingFragment{ table.toFront(); table.touchable = Touchable.disabled; table.actions(Actions.fadeOut(0.5f), Actions.visible(false)); + if(Core.scene.getKeyboardFocus() == button){ + Core.scene.setKeyboardFocus(null); + } } private void text(String text){