mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Update SF requirement to match documentation
This commit is contained in:
parent
2726420709
commit
c50c92f9b5
@ -624,12 +624,12 @@ export function NetscriptSingularity(
|
|||||||
},
|
},
|
||||||
isFocused: function(): boolean {
|
isFocused: function(): boolean {
|
||||||
helper.updateDynamicRam("isFocused", getRamCost("isFocused"));
|
helper.updateDynamicRam("isFocused", getRamCost("isFocused"));
|
||||||
helper.checkSingularityAccess("isFocused", 1);
|
helper.checkSingularityAccess("isFocused", 2);
|
||||||
return player.focus;
|
return player.focus;
|
||||||
},
|
},
|
||||||
setFocus: function(focus: boolean): any {
|
setFocus: function(focus: boolean): any {
|
||||||
helper.updateDynamicRam("setFocus", getRamCost("setFocus"));
|
helper.updateDynamicRam("setFocus", getRamCost("setFocus"));
|
||||||
helper.checkSingularityAccess("setFocus", 1);
|
helper.checkSingularityAccess("setFocus", 2);
|
||||||
if (!player.isWorking) {
|
if (!player.isWorking) {
|
||||||
throw helper.makeRuntimeErrorMsg("setFocus", "Not currently working");
|
throw helper.makeRuntimeErrorMsg("setFocus", "Not currently working");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user