Merge branch 'dev' of github.com:danielyxie/bitburner into dev

This commit is contained in:
Olivier Gagnon 2021-11-28 23:51:08 -05:00
commit 3a6d51134a

@ -1242,8 +1242,8 @@ export function NetscriptSingularity(
return player.focus; return player.focus;
}, },
setFocus: function (focus: any): void { setFocus: function (focus: any): void {
helper.updateDynamicRam("isFocused", getRamCost("isFocused")); helper.updateDynamicRam("setFocus", getRamCost("setFocus"));
helper.checkSingularityAccess("isFocused", 2); helper.checkSingularityAccess("setFocus", 2);
if (focus === true) { if (focus === true) {
player.startFocusing(); player.startFocusing();
} else if (focus === false) { } else if (focus === false) {