Skip to content

Commit

Permalink
Update dChatServer/ChatWebApi.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: David Markowitz <[email protected]>
  • Loading branch information
aronwk-aaron and EmosewaMC authored Apr 26, 2024
1 parent c3ea448 commit 06607c9
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 06607c9

Please sign in to comment.