Skip to content

Commit

Permalink
Add missing OOP variable
Browse files Browse the repository at this point in the history
  • Loading branch information
FileEX committed May 1, 2024
1 parent 0367aa2 commit 4eccc7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server/mods/deathmatch/logic/luadefs/CLuaObjectDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ void CLuaObjectDefs::AddClass(lua_State* luaVM)

lua_classvariable(luaVM, "scale", "setObjectScale", "getObjectScale");
lua_classvariable(luaVM, "breakable", "setObjectBreakable", "isObjectBreakable");
lua_classvariable(luaVM, "moving", NULL, "isObjectMoving");

lua_registerclass(luaVM, "Object", "Element");
}
Expand Down

0 comments on commit 4eccc7f

Please sign in to comment.