From 91f42e84dc98f76645988dbb96fb02bd019232e9 Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Mon, 10 Feb 2025 07:54:46 +1000 Subject: [PATCH] fix a typo --- src/pc/lua/smlua_cobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/lua/smlua_cobject.c b/src/pc/lua/smlua_cobject.c index d0e35e99a..5deb7c5f8 100644 --- a/src/pc/lua/smlua_cobject.c +++ b/src/pc/lua/smlua_cobject.c @@ -518,7 +518,7 @@ static int smlua_cpointer_get(lua_State* L) { lua_pushinteger(L, (u64)(intptr_t) cptr->pointer); return 1; } - if (strcmp(key, "_lot") == 0) { + if (strcmp(key, "_lvt") == 0) { lua_pushinteger(L, cptr->lvt); return 1; }