From 81d0353144e56023090697332e1fc8acd03b504a Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Fri, 19 May 2023 09:21:45 -0700 Subject: [PATCH] fix $auction command --- src/ChatCommands.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ChatCommands.cc b/src/ChatCommands.cc index 43afcff9..7599e4cd 100644 --- a/src/ChatCommands.cc +++ b/src/ChatCommands.cc @@ -244,6 +244,7 @@ static void server_command_auction(shared_ptr, shared_ptr l, check_privileges(c, Privilege::DEBUG); if (l->is_game() && l->is_ep3()) { G_InitiateCardAuction_GC_Ep3_6xB5x42 cmd; + cmd.header.sender_client_id = c->lobby_client_id; send_command_t(l, 0xC9, 0x00, cmd); } } @@ -251,6 +252,7 @@ static void server_command_auction(shared_ptr, shared_ptr l, static void proxy_command_auction(shared_ptr, ProxyServer::LinkedSession& session, const std::u16string&) { G_InitiateCardAuction_GC_Ep3_6xB5x42 cmd; + cmd.header.sender_client_id = session.lobby_client_id; session.client_channel.send(0xC9, 0x00, &cmd, sizeof(cmd)); session.server_channel.send(0xC9, 0x00, &cmd, sizeof(cmd)); }