From 5cbeae93535e0c2d03c4c3971bf55477f4e947c0 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 11 Apr 2022 14:17:27 -0400 Subject: [PATCH] lint --- src/NetscriptFunctions/Stanek.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NetscriptFunctions/Stanek.ts b/src/NetscriptFunctions/Stanek.ts index 2137582ff..0b2010f6c 100644 --- a/src/NetscriptFunctions/Stanek.ts +++ b/src/NetscriptFunctions/Stanek.ts @@ -12,7 +12,7 @@ import { Stanek as IStanek, } from "../ScriptEditor/NetscriptDefinitions"; import { AugmentationNames } from "../Augmentation/data/AugmentationNames"; -import { NetscriptContext, InternalAPI } from "src/Netscript/APIWrapper"; +import { NetscriptContext, InternalAPI } from "../Netscript/APIWrapper"; export function NetscriptStanek( player: IPlayer, @@ -26,12 +26,12 @@ export function NetscriptStanek( } return { - giftWidth: (_ctx: NetscriptContext) => + giftWidth: () => function (): number { checkStanekAPIAccess("giftWidth"); return staneksGift.width(); }, - giftHeight: (_ctx: NetscriptContext) => + giftHeight: () => function (): number { checkStanekAPIAccess("giftHeight"); return staneksGift.height();