From b676343b0215a51973a9582984739b93aad4f383 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Wed, 30 Mar 2022 00:02:18 -0700 Subject: [PATCH] removed print and rejection send --- dGame/dGameMessages/PropertyDataMessage.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dGame/dGameMessages/PropertyDataMessage.cpp b/dGame/dGameMessages/PropertyDataMessage.cpp index cbe3e67b..9a261a65 100644 --- a/dGame/dGameMessages/PropertyDataMessage.cpp +++ b/dGame/dGameMessages/PropertyDataMessage.cpp @@ -68,12 +68,13 @@ void GameMessages::PropertyDataMessage::Serialize(RakNet::BitStream& stream) con else if (moderatorRequested == true && rejectionReason == "") stream.Write(0); else stream.Write(1); - const auto& rejectionReasonConverted = GeneralUtils::ASCIIToUTF16(rejectionReason); - stream.Write(uint32_t(rejectionReasonConverted.size())); - for (uint32_t i = 0; i < rejectionReasonConverted.size(); ++i) { - stream.Write(uint16_t(rejectionReasonConverted[i])); - std::cout << rejectionReason[i] << std::endl; - } + // Does this go here??? + // const auto& rejectionReasonConverted = GeneralUtils::ASCIIToUTF16(rejectionReason); + // stream.Write(uint32_t(rejectionReasonConverted.size())); + // for (uint32_t i = 0; i < rejectionReasonConverted.size(); ++i) { + // stream.Write(uint16_t(rejectionReasonConverted[i])); + // } + stream.Write(0); stream.Write(0);