mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-11 02:23:09 +00:00
Merge branch 'expose-demoplayback' into 'next'
Expose demo.playback to Lua See merge request KartKrew/Kart-Public!217
This commit is contained in:
commit
9c04407967
1 changed files with 3 additions and 0 deletions
|
|
@ -9762,6 +9762,9 @@ static inline int lib_getenum(lua_State *L)
|
|||
} else if (fastcmp(word,"exitcountdown")) {
|
||||
lua_pushinteger(L, exitcountdown); // This name is pretty dumb. Hence why we'll prefer more descriptive names at least in Lua...
|
||||
return 1;
|
||||
} else if (fastcmp(word,"replayplayback")) {
|
||||
lua_pushboolean(L, demo.playback);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue