Expose cv_numlaps as global variable

This commit is contained in:
Steel Titanium 2019-04-06 23:42:02 -04:00
parent a3284df681
commit d59fb7f80c

View file

@ -9925,6 +9925,9 @@ static inline int lib_getenum(lua_State *L)
} else if (fastcmp(word,"mapobjectscale")) {
lua_pushinteger(L, mapobjectscale);
return 1;
} else if (fastcmp(word,"numlaps")) {
lua_pushinteger(L, cv_numlaps.value);
return 1;
}
return 0;
}