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
+1 -1
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;