Update StarPlayerLuaBindings.cpp

This commit is contained in:
Kae 2024-10-21 16:55:31 +11:00
parent e3aa302a8c
commit 2796e8ed10

View File

@ -31,7 +31,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) {
callbacks.registerCallback("teamMembers", [player]() -> Maybe<JsonArray> {
if (auto client = player->universeClient()) {
return client->teamClient()->members().transformed([](TeamClient::Member& member) -> Json {
return client->teamClient()->members().transformed([](TeamClient::Member const& member) -> Json {
return JsonObject{
{"name", member.name},
{"uuid", member.uuid.hex()},