diff options
author | tpart <tpart120@proton.me> | 2025-09-25 20:35:01 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-09-25 20:35:01 +0200 |
commit | fd7c0cf155760353b877c1f1551e872e1aca0401 (patch) | |
tree | cd80f3d1d933b8a29571a150c6a2aaff05889967 | |
parent | 1d031244bcadae00afe546855ce7e3f8956d6417 (diff) | |
download | hurrycurry-fd7c0cf155760353b877c1f1551e872e1aca0401.tar hurrycurry-fd7c0cf155760353b877c1f1551e872e1aca0401.tar.bz2 hurrycurry-fd7c0cf155760353b877c1f1551e872e1aca0401.tar.zst |
Reduce logging to avoid cluttering output
-rw-r--r-- | client/game.gd | 1 | ||||
-rw-r--r-- | 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): |