Skip to content

Commit

Permalink
Add obj:setProperty oopdef
Browse files Browse the repository at this point in the history
  • Loading branch information
qaisjp committed Sep 25, 2018
1 parent 9b785a8 commit b6c4d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Client/mods/deathmatch/logic/luadefs/CLuaObjectDefs.cpp
Expand Up @@ -60,6 +60,7 @@ void CLuaObjectDefs::AddClass(lua_State* luaVM)

lua_classfunction(luaVM, "setScale", "setObjectScale");
lua_classfunction(luaVM, "setBreakable", "setObjectBreakable");
lua_classfunction(luaVM, "setProperty", "setObjectProperty");

lua_classvariable(luaVM, "scale", "setObjectScale", "getObjectScale");
lua_classvariable(luaVM, "breakable", "setObjectBreakable", "isObjectBreakable");
Expand Down

0 comments on commit b6c4d0e

Please sign in to comment.