From fd7c0cf155760353b877c1f1551e872e1aca0401 Mon Sep 17 00:00:00 2001 From: tpart Date: Thu, 25 Sep 2025 20:35:01 +0200 Subject: Reduce logging to avoid cluttering output --- client/game.gd | 1 - client/gui/menus/menu.gd | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/game.gd b/client/game.gd index eb3436c5..1a5e8ff6 100644 --- a/client/game.gd +++ b/client/game.gd @@ -330,7 +330,6 @@ func handle_packet(p): var mstr := get_message_str(p.message) if p.error: overlay_popup_message.display_server_msg(tr("c.error.server").format([mstr])) - push_error(tr("c.error.server").format([mstr])) else: overlay_popup_message.display_server_msg(mstr) "server_hint": diff --git a/client/gui/menus/menu.gd b/client/gui/menus/menu.gd index 516b64bb..e1dc8929 100644 --- a/client/gui/menus/menu.gd +++ b/client/gui/menus/menu.gd @@ -64,9 +64,9 @@ func submenu(path: String, data_ = null): popup = load(path).instantiate() popup.data = data_ add_child(popup) - print("Submenu opened ", path) + # print("Submenu opened ", path) await submenu_close - print("Submenu closed ", path) + # print("Submenu closed ", path) covered = false await _menu_cover(false) Global.focused_menu = self @@ -111,7 +111,7 @@ func focus_first(node: Node) -> bool: return false if node is Button or node.is_in_group("autoselect"): node.grab_focus() - print("Node %s (%s) was selected for focus" % [node.name, node]) + # print("Node %s (%s) was selected for focus" % [node.name, node]) return true for c in node.get_children(): if focus_first(c): -- cgit v1.2.3-70-g09d2