Skip to content

Commit 8785e72

Browse files
authored
Fix wrong function name for OOP debug level (#3524)
1 parent e457aed commit 8785e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void CLuaPlayerDefs::AddClass(lua_State* luaVM)
9595
lua_classvariable(luaVM, "ping", NULL, "getPlayerPing");
9696
lua_classvariable(luaVM, "name", NULL, "getPlayerName");
9797
lua_classvariable(luaVM, "team", NULL, "getPlayerTeam");
98-
lua_classvariable(luaVM, "debugLevel", nullptr, "getScriptDebugLevel");
98+
lua_classvariable(luaVM, "debugLevel", nullptr, "getPlayerScriptDebugLevel");
9999
lua_classvariable(luaVM, "nametagText", "setPlayerNametagText", "getPlayerNametagText");
100100
lua_classvariable(luaVM, "nametagShowing", "setPlayerNametagShowing", "isPlayerNametagShowing");
101101

0 commit comments

Comments
 (0)