Skip to content

Commit

Permalink
Fix missing ColShape.elementsWithin class variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Pirulax committed Apr 10, 2021
1 parent 5c9b50f commit 0ca2cc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server/mods/deathmatch/logic/luadefs/CLuaColShapeDefs.cpp
Expand Up @@ -74,6 +74,7 @@ void CLuaColShapeDefs::AddClass(lua_State* luaVM)
lua_classvariable(luaVM, "radius", "setColShapeRadius", "getColShapeRadius", SetColShapeRadius, GetColShapeRadius);
lua_classvariable(luaVM, "size", "setColShapeSize", "getColShapeSize", SetColShapeSize, OOP_GetColShapeSize);
lua_classvariable(luaVM, "points", nullptr, "getColPolygonPoints", nullptr, OOP_GetColPolygonPoints);
lua_classvariable(luaVM, "elementsWithin", nullptr, "getElementsWithinColShape");

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

0 comments on commit 0ca2cc0

Please sign in to comment.