From b02d619dd84979d0281446a05d32fbe68bb038f1 Mon Sep 17 00:00:00 2001 From: Zwlin Date: Sun, 15 Jun 2025 20:59:01 +0800 Subject: [PATCH] fix comment: check start time (#2038) --- service-src/service_snlua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-src/service_snlua.c b/service-src/service_snlua.c index 462fea82..83ee43d7 100644 --- a/service-src/service_snlua.c +++ b/service-src/service_snlua.c @@ -163,7 +163,7 @@ static int timing_enable(lua_State *L, int co_index, lua_Number *start_time) { lua_pushvalue(L, co_index); lua_rawget(L, lua_upvalueindex(1)); - if (lua_isnil(L, -1)) { // check total time + if (lua_isnil(L, -1)) { // check start time lua_pop(L, 1); return 0; }