Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/chat-http-api' into…
Browse files Browse the repository at this point in the history
… chat-http-api
  • Loading branch information
aronwk-aaron committed Apr 26, 2024
2 parents 9192dca + 06607c9 commit ce5bd68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dChatServer/ChatWebApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void ChatWebApi::Listen(const uint32_t port) {
toInsert["loot_flag"] = teamData->lootFlag;
toInsert["local"] = teamData->local;

auto leader = Game::playerContainer.GetPlayerData(teamData->leaderID);
auto& leader = Game::playerContainer.GetPlayerData(teamData->leaderID);
toInsert["leader"] = leader.to_json();

json members;
Expand Down

0 comments on commit ce5bd68

Please sign in to comment.