From 3b59f07f888533627c98f73180194428a3119e99 Mon Sep 17 00:00:00 2001 From: faangbait Date: Fri, 15 Jul 2022 10:20:30 -0500 Subject: [PATCH] fix for #3909 #3909 I can't compile electron right now, but I think this ought to fix it. --- src/NetscriptFunctions/Infiltration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions/Infiltration.ts b/src/NetscriptFunctions/Infiltration.ts index 3956f73e7..ccd5efb1f 100644 --- a/src/NetscriptFunctions/Infiltration.ts +++ b/src/NetscriptFunctions/Infiltration.ts @@ -42,7 +42,7 @@ export function NetscriptInfiltration(player: IPlayer): InternalAPI (): string[] => { - return getLocationsWithInfiltrations.map((l) => l + ""); + return getLocationsWithInfiltrations.map((l) => l.name); }, getInfiltration: (ctx: NetscriptContext) =>