From 2796e8ed1035c12a6645c3130b1c43d4e4c68784 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:55:31 +1100 Subject: [PATCH] Update StarPlayerLuaBindings.cpp --- source/game/scripting/StarPlayerLuaBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/scripting/StarPlayerLuaBindings.cpp b/source/game/scripting/StarPlayerLuaBindings.cpp index b0b44a8..f8e1f2e 100644 --- a/source/game/scripting/StarPlayerLuaBindings.cpp +++ b/source/game/scripting/StarPlayerLuaBindings.cpp @@ -31,7 +31,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) { callbacks.registerCallback("teamMembers", [player]() -> Maybe { 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()},