From c50c92f9b572c97d9a52d5a00ce2b58821daba42 Mon Sep 17 00:00:00 2001 From: theit8514 Date: Mon, 13 Dec 2021 16:50:58 -0500 Subject: [PATCH] Update SF requirement to match documentation --- src/NetscriptFunctions/Singularity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NetscriptFunctions/Singularity.ts b/src/NetscriptFunctions/Singularity.ts index 103d27a54..7d6758dd5 100644 --- a/src/NetscriptFunctions/Singularity.ts +++ b/src/NetscriptFunctions/Singularity.ts @@ -624,12 +624,12 @@ export function NetscriptSingularity( }, isFocused: function(): boolean { helper.updateDynamicRam("isFocused", getRamCost("isFocused")); - helper.checkSingularityAccess("isFocused", 1); + helper.checkSingularityAccess("isFocused", 2); return player.focus; }, setFocus: function(focus: boolean): any { helper.updateDynamicRam("setFocus", getRamCost("setFocus")); - helper.checkSingularityAccess("setFocus", 1); + helper.checkSingularityAccess("setFocus", 2); if (!player.isWorking) { throw helper.makeRuntimeErrorMsg("setFocus", "Not currently working"); }