mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
1c0d470cd5
1 changed files with 3 additions and 0 deletions
|
|
@ -9925,6 +9925,9 @@ static inline int lib_getenum(lua_State *L)
|
||||||
} else if (fastcmp(word,"mapobjectscale")) {
|
} else if (fastcmp(word,"mapobjectscale")) {
|
||||||
lua_pushinteger(L, mapobjectscale);
|
lua_pushinteger(L, mapobjectscale);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (fastcmp(word,"numlaps")) {
|
||||||
|
lua_pushinteger(L, cv_numlaps.value);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue