diff --git a/common/space_lua/runtime.ts b/common/space_lua/runtime.ts index 86a902d7..3c1a716d 100644 --- a/common/space_lua/runtime.ts +++ b/common/space_lua/runtime.ts @@ -703,7 +703,7 @@ export function luaTruthy(value: any): boolean { return false; } if (value instanceof LuaTable) { - return value.empty(); + return !value.empty(); } if (value instanceof LuaMultiRes) { return value.values.length > 0;