diff options
author | metamuffin <metamuffin@disroot.org> | 2024-12-23 16:41:57 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-12-25 20:01:20 +0100 |
commit | 469d554381597a383aa799b29261786de19fb08e (patch) | |
tree | 229303a223d786f4f725b2f41e79b59d9e3a2e13 /client/multiplayer.gd | |
parent | b0df9b7c27a3d6316969d7feff4d912c3abf99f6 (diff) | |
download | hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar.bz2 hurrycurry-469d554381597a383aa799b29261786de19fb08e.tar.zst |
two-handed mostly works
Diffstat (limited to 'client/multiplayer.gd')
-rw-r--r-- | client/multiplayer.gd | 3 |
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, }) |