From f801fd263bd2eecdea1c6ef3da300c5acaf31a54 Mon Sep 17 00:00:00 2001 From: Mufeed Ali Date: Sat, 4 Jan 2025 11:32:49 +0530 Subject: [PATCH] fix(system): Add condition to prevent remote script reload when syncOnly is enabled (#1198) --- common/syscalls/system.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/syscalls/system.ts b/common/syscalls/system.ts index d6bba160..f9c97985 100644 --- a/common/syscalls/system.ts +++ b/common/syscalls/system.ts @@ -113,7 +113,7 @@ export function systemSyscalls( "system.loadSpaceScripts": async () => { // Reload scripts locally await commonSystem.loadSpaceScripts(); - if (client) { + if (client && !globalThis.silverBulletConfig.syncOnly) { // Reload scripts remotely await proxySyscall( {},