From cec07a36025d12a0344f19d1ca4c8e51f007b796 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 23 Dec 2024 16:41:57 +0100 Subject: two-handed mostly works --- client/multiplayer.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/multiplayer.gd') diff --git a/client/multiplayer.gd b/client/multiplayer.gd index 57031221..14eaf482 100644 --- a/client/multiplayer.gd +++ b/client/multiplayer.gd @@ -106,11 +106,12 @@ func send_movement(player, pos: Vector2, direction: Vector2, boost: bool): "boost": boost }) -func send_tile_interact(player, pos: Vector2i, edge: bool): +func send_tile_interact(player, pos: Vector2i, edge: bool, hand: String): @warning_ignore("incompatible_ternary") send_packet({ "type": "interact", "player": player, + "hand": hand, "pos": [pos.x, pos.y] if edge else null, }) -- cgit v1.2.3-70-g09d2