From f6987d662786a2e809aa1640ba1be7ef8871f6bc Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 3 Oct 2022 19:57:55 -0700 Subject: [PATCH] fix resume game subcommand --- src/SendCommands.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SendCommands.cc b/src/SendCommands.cc index b81b54b9..d04a9bf4 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -1369,8 +1369,8 @@ void send_arrow_update(shared_ptr l) { // tells the player that the joining player is done joining, and the game can resume void send_resume_game(shared_ptr l, shared_ptr ready_client) { - uint32_t data = 0x081C0372; - send_command_excluding_client(l, ready_client, 0x60, 0x00, &data, 4); + static const be_uint32_t data = 0x72010000; + send_command_excluding_client(l, ready_client, 0x60, 0x00, &data, sizeof(be_uint32_t)); }