mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
Merge pull request #1797 from alainbryden/patch-2
Bad copy pasta from isFocused -> setFocus
This commit is contained in:
commit
2dfc52351d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user