We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1059082 commit 58556f8Copy full SHA for 58556f8
lib/plugos/syscalls/datastore.ts
@@ -54,7 +54,7 @@ export function dataStoreReadSyscalls(
54
);
55
const env = new LuaEnv(commonSystem.spaceLuaEnv.env);
56
for (const [key, value] of Object.entries(scopeVariables)) {
57
- env.set(key, jsToLuaValue(value));
+ env.setLocal(key, jsToLuaValue(value));
58
}
59
return (await dsQueryCollection.query(
60
query,
0 commit comments