From eb03f3356683c6f3069f2f7b08b3935ca3314559 Mon Sep 17 00:00:00 2001 From: qwint Date: Tue, 2 Jul 2024 21:13:33 -0500 Subject: [PATCH] makes the kivy connect button do the same username forgetting that /connect does to fix an issue where losing connection would make you unable to connect to a different server --- kvui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kvui.py b/kvui.py index 500203a8818f..6914a67ba5bf 100644 --- a/kvui.py +++ b/kvui.py @@ -599,6 +599,7 @@ def connect_button_action(self, button): self.ctx.username = None async_start(self.ctx.disconnect()) else: + self.ctx.username = None async_start(self.ctx.connect(self.server_connect_bar.text.replace("/connect ", ""))) def on_stop(self):