mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 12:55:12 +03:00
Another change related to #6368 (avoids breaking compatibility)
This commit is contained in:
parent
7132d4ec49
commit
998e8b6d3d
1 changed files with 1 additions and 1 deletions
|
@ -1442,7 +1442,7 @@ static int luaGetUsage(lua_State * L)
|
||||||
static int luaResetGlobalTimer(lua_State * L)
|
static int luaResetGlobalTimer(lua_State * L)
|
||||||
{
|
{
|
||||||
size_t length;
|
size_t length;
|
||||||
const char * option = luaL_optlstring(L, 1, "all", &length);
|
const char * option = luaL_optlstring(L, 1, "total", &length);
|
||||||
if (!strcmp(option, "all")) {
|
if (!strcmp(option, "all")) {
|
||||||
g_eeGeneral.globalTimer = 0;
|
g_eeGeneral.globalTimer = 0;
|
||||||
sessionTimer = 0;
|
sessionTimer = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue