aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/game.gd1
-rw-r--r--client/gui/menus/menu.gd6
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):