1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 12:25:12 +03:00

Another change related to #6368 (avoids breaking compatibility)

This commit is contained in:
Bertrand Songis 2019-06-14 08:40:35 +02:00
parent 7132d4ec49
commit 998e8b6d3d
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -1442,7 +1442,7 @@ static int luaGetUsage(lua_State * L)
static int luaResetGlobalTimer(lua_State * L)
{
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")) {
g_eeGeneral.globalTimer = 0;
sessionTimer = 0;