From 58be301d0679eccfeb47789164a7d08a9558ceca Mon Sep 17 00:00:00 2001 From: Undeemiss Date: Sun, 15 May 2022 20:06:52 -0500 Subject: [PATCH] Fixed broken stanek error --- src/NetscriptFunctions/Stanek.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions/Stanek.ts b/src/NetscriptFunctions/Stanek.ts index d3be392d1..5ce59893d 100644 --- a/src/NetscriptFunctions/Stanek.ts +++ b/src/NetscriptFunctions/Stanek.ts @@ -26,7 +26,7 @@ export function NetscriptStanek( ): InternalAPI { function checkStanekAPIAccess(func: string): void { if (!player.hasAugmentation(AugmentationNames.StaneksGift1, true)) { - helper.makeRuntimeErrorMsg(func, "Requires Stanek's Gift installed."); + throw helper.makeRuntimeErrorMsg(func, "Stanek's Gift is not installed"); } }