Skip to content

Commit 8337c7e

Browse files
authored
Fix missing ColShape.elementsWithin class variable (#2186)
1 parent 6cc5d3a commit 8337c7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Server/mods/deathmatch/logic/luadefs/CLuaColShapeDefs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ void CLuaColShapeDefs::AddClass(lua_State* luaVM)
7474
lua_classvariable(luaVM, "radius", "setColShapeRadius", "getColShapeRadius", SetColShapeRadius, GetColShapeRadius);
7575
lua_classvariable(luaVM, "size", "setColShapeSize", "getColShapeSize", SetColShapeSize, OOP_GetColShapeSize);
7676
lua_classvariable(luaVM, "points", nullptr, "getColPolygonPoints", nullptr, OOP_GetColPolygonPoints);
77+
lua_classvariable(luaVM, "elementsWithin", nullptr, "getElementsWithinColShape");
7778

7879
lua_registerclass(luaVM, "ColShape", "Element");
7980
}

0 commit comments

Comments
 (0)