diff options
author | tpart <tpart120@proton.me> | 2025-06-03 22:25:32 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-06-03 22:25:37 +0200 |
commit | a2c2f9c84ba43c218556926b0f6650318e701d68 (patch) | |
tree | 3251dd8004a83c6e3e219cc616a819eea64372f8 /client/multiplayer.gd | |
parent | 29772d6b2f244c6c172347c5e96530a16ca4517d (diff) | |
download | hurrycurry-a2c2f9c84ba43c218556926b0f6650318e701d68.tar hurrycurry-a2c2f9c84ba43c218556926b0f6650318e701d68.tar.bz2 hurrycurry-a2c2f9c84ba43c218556926b0f6650318e701d68.tar.zst |
Support new character style system
Diffstat (limited to 'client/multiplayer.gd')
-rw-r--r-- | client/multiplayer.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/multiplayer.gd b/client/multiplayer.gd index a9006a0e..e2459eb3 100644 --- a/client/multiplayer.gd +++ b/client/multiplayer.gd @@ -91,11 +91,11 @@ func handle_packet(coded): connection_closed.emit(tr("c.error.version_mismatch").format([major, minor, VERSION_MAJOR, VERSION_MINOR])) _: packet.emit(p) -func send_join(player_name: String, character: int): +func send_join(player_name: String, character_style: Dictionary): send_packet({ "type": "join", "name": player_name, - "character": character + "character": character_style }) func send_movement(player, pos: Vector2, direction: Vector2, boost: bool): |