From b7ac685781300ece416ffb318bb5f1c33075bd3f Mon Sep 17 00:00:00 2001 From: sigureling <1678348940@qq.com> Date: Mon, 6 May 2024 19:36:42 +0800 Subject: [PATCH] fix: :bug: fix a careless bug in sendmessage --- CAPI/cpp/API/src/logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CAPI/cpp/API/src/logic.cpp b/CAPI/cpp/API/src/logic.cpp index 6a22afde..8cf43231 100755 --- a/CAPI/cpp/API/src/logic.cpp +++ b/CAPI/cpp/API/src/logic.cpp @@ -202,7 +202,7 @@ bool Logic::Move(int64_t time, double angle) bool Logic::Send(int32_t toID, std::string message, bool binary) { logger->debug("Called SendMessage"); - return pComm->Send(playerID, teamID, toID, std::move(message), binary); + return pComm->Send(playerID, toID, teamID, std::move(message), binary); } bool Logic::HaveMessage()