We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec22f36 commit 90e0bb6Copy full SHA for 90e0bb6
Server/mods/deathmatch/logic/luadefs/CLuaColShapeDefs.cpp
@@ -249,7 +249,7 @@ int CLuaColShapeDefs::CreateColPolygon(lua_State* luaVM)
249
std::vector<CVector2D> vecPointList;
250
251
CScriptArgReader argStream(luaVM);
252
- for (uint i = 0; i < 4 || argStream.NextCouldBeNumber(); i++)
+ for (uint i = 0; i < 4 || argStream.NextIsVector2D(); i++)
253
{
254
CVector2D vecPoint;
255
argStream.ReadVector2D(vecPoint);
0 commit comments