Update SF requirement to match documentation

This commit is contained in:
theit8514 2021-12-13 16:50:58 -05:00
parent 2726420709
commit c50c92f9b5

@ -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");
}