Merge branch 'expose-numlaps' into 'next'

Expose cv_numlaps.value as global variable

See merge request KartKrew/Kart-Public!134
This commit is contained in:
Sal 2019-05-02 01:41:41 -04:00
commit 738c5be37b

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;
}