summaryrefslogtreecommitdiff
path: root/client/multiplayer.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-12-23 16:41:57 +0100
committermetamuffin <metamuffin@disroot.org>2024-12-23 16:41:57 +0100
commitcec07a36025d12a0344f19d1ca4c8e51f007b796 (patch)
tree1d96b7018b88157a16ea80623a7eaf62e43b35ec /client/multiplayer.gd
parent1a9f7e9a20bff0fbc854454f131d4bc546e73e72 (diff)
downloadhurrycurry-cec07a36025d12a0344f19d1ca4c8e51f007b796.tar
hurrycurry-cec07a36025d12a0344f19d1ca4c8e51f007b796.tar.bz2
hurrycurry-cec07a36025d12a0344f19d1ca4c8e51f007b796.tar.zst
two-handed mostly works
Diffstat (limited to 'client/multiplayer.gd')
-rw-r--r--client/multiplayer.gd3
1 files changed, 2 insertions, 1 deletions
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,
})