chore(ui): prefer lua_tostring macro

This commit is contained in:
fallenoak committed 2025-10-21 09:04:29 -05:00
1 parent 1e05398ad8
commit ea034cb960
13 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ bool StringToBOOL(lua_State* L, int32_t idx, int32_t def) {
break;
case LUA_TSTRING:
str = lua_tolstring(L, idx, 0);
str = lua_tostring(L, idx);
result = StringToBOOL(str, def);
break;