online multiplayer chess game (note server currently down)
-rw-r--r--ui/board/Game.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/board/Game.gd b/ui/board/Game.gd
index 5eafc8f..556c184 100644
--- a/ui/board/Game.gd
+++ b/ui/board/Game.gd
@@ -37,6 +37,6 @@ func set_panel(pnl: UserPanel, name: String, country: String) -> void:
pnl.set_flag(country)
-func _input(event: InputEvent):
+func _unhandled_input(event: InputEvent):
if event is InputEventKey and event.pressed and event.scancode == KEY_Z:
- chat.visible = !chat.visible
+ chat.visible = !chat.visible \ No newline at end of file