mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 01:38:20 +00:00
Merge remote-tracking branch 'refs/remotes/origin/chat-http-api' into chat-http-api
This commit is contained in:
commit
ce5bd68067
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user