use response code passed in

This commit is contained in:
Aaron Kimbre 2024-03-24 23:06:04 -05:00
parent 938bcd258d
commit 71413305d7

View File

@ -737,7 +737,7 @@ void ChatPacketHandler::SendTeamInviteConfirm(const PlayerData& receiver, TeamDa
}
bitStream.Write(team->lootFlag);
bitStream.Write(team->memberIDs.size());
bitStream.Write<uint8_t>(0); // ucResponseCode
bitStream.Write(responseCode);
const std::u16string wsLeaderName = GeneralUtils::UTF8ToUTF16(leader.playerName);
bitStream.Write<uint32_t>(wsLeaderName.size());
bitStream.Write(wsLeaderName);