mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
Update dChatServer/ChatWebApi.cpp
Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
This commit is contained in:
parent
c3ea448be0
commit
06607c9b55
@ -66,7 +66,7 @@ void ChatWebApi::Listen(const uint32_t port) {
|
|||||||
toInsert["loot_flag"] = teamData->lootFlag;
|
toInsert["loot_flag"] = teamData->lootFlag;
|
||||||
toInsert["local"] = teamData->local;
|
toInsert["local"] = teamData->local;
|
||||||
|
|
||||||
auto leader = Game::playerContainer.GetPlayerData(teamData->leaderID);
|
auto& leader = Game::playerContainer.GetPlayerData(teamData->leaderID);
|
||||||
toInsert["leader"] = leader.to_json();
|
toInsert["leader"] = leader.to_json();
|
||||||
|
|
||||||
json members;
|
json members;
|
||||||
|
Loading…
Reference in New Issue
Block a user