fix(system): Add condition to prevent remote script reload when syncOnly is enabled (#1198)
parent
e94c4843b4
commit
f801fd263b
|
@ -113,7 +113,7 @@ export function systemSyscalls(
|
||||||
"system.loadSpaceScripts": async () => {
|
"system.loadSpaceScripts": async () => {
|
||||||
// Reload scripts locally
|
// Reload scripts locally
|
||||||
await commonSystem.loadSpaceScripts();
|
await commonSystem.loadSpaceScripts();
|
||||||
if (client) {
|
if (client && !globalThis.silverBulletConfig.syncOnly) {
|
||||||
// Reload scripts remotely
|
// Reload scripts remotely
|
||||||
await proxySyscall(
|
await proxySyscall(
|
||||||
{},
|
{},
|
||||||
|
|
Loading…
Reference in New Issue