Skip to content

Commit

Permalink
fix: 🐛 fix a careless bug in sendmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
sigureling committed May 6, 2024
1 parent 31188ea commit b7ac685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CAPI/cpp/API/src/logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b7ac685

Please sign in to comment.