From 998e8b6d3dadc67e57e1c46fdd3afa4ad68d2033 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 14 Jun 2019 08:40:35 +0200 Subject: [PATCH] Another change related to #6368 (avoids breaking compatibility) --- radio/src/lua/api_general.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/lua/api_general.cpp b/radio/src/lua/api_general.cpp index c107615f0..e52aafd59 100644 --- a/radio/src/lua/api_general.cpp +++ b/radio/src/lua/api_general.cpp @@ -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;