From 0618e0f6b3c9ab09972180cf023541c5f826bacf Mon Sep 17 00:00:00 2001 From: Nico <122193236+Nico8340@users.noreply.github.com> Date: Mon, 15 Jul 2024 14:01:06 +0200 Subject: [PATCH] GetPlayerScriptDebugLevel OOP syntax unification (#3534) --- Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp b/Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp index 1eb0d1eca7..757a4d5419 100644 --- a/Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp +++ b/Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp @@ -95,7 +95,7 @@ void CLuaPlayerDefs::AddClass(lua_State* luaVM) lua_classvariable(luaVM, "ping", NULL, "getPlayerPing"); lua_classvariable(luaVM, "name", NULL, "getPlayerName"); lua_classvariable(luaVM, "team", NULL, "getPlayerTeam"); - lua_classvariable(luaVM, "debugLevel", nullptr, "getPlayerScriptDebugLevel"); + lua_classvariable(luaVM, "scriptDebugLevel", nullptr, "getPlayerScriptDebugLevel"); lua_classvariable(luaVM, "nametagText", "setPlayerNametagText", "getPlayerNametagText"); lua_classvariable(luaVM, "nametagShowing", "setPlayerNametagShowing", "isPlayerNametagShowing");