Fixed broken stanek error

This commit is contained in:
Undeemiss 2022-05-15 20:06:52 -05:00
parent 0121fee6e4
commit 58be301d06

@ -26,7 +26,7 @@ export function NetscriptStanek(
): InternalAPI<IStanek> {
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");
}
}