From ca2948b854415b4a85b975a0c58101cd152218d3 Mon Sep 17 00:00:00 2001 From: Alain Bryden <2285037+alainbryden@users.noreply.github.com> Date: Fri, 26 Nov 2021 23:02:02 -0400 Subject: [PATCH] Bad copy pasta from isFocused -> setFocus --- 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 c7c2ebb89..72b642126 100644 --- a/src/NetscriptFunctions/Singularity.ts +++ b/src/NetscriptFunctions/Singularity.ts @@ -1242,8 +1242,8 @@ export function NetscriptSingularity( return player.focus; }, setFocus: function (focus: any): void { - helper.updateDynamicRam("isFocused", getRamCost("isFocused")); - helper.checkSingularityAccess("isFocused", 2); + helper.updateDynamicRam("setFocus", getRamCost("setFocus")); + helper.checkSingularityAccess("setFocus", 2); if (focus === true) { player.startFocusing(); } else if (focus === false) {