From 1b1dc20c16b15432b20939508aa27998a49bad18 Mon Sep 17 00:00:00 2001 From: pigalot Date: Thu, 13 Jan 2022 19:17:13 +0000 Subject: [PATCH] fix error message --- src/NetscriptFunctions/Corporation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions/Corporation.ts b/src/NetscriptFunctions/Corporation.ts index 9d23dbef0..fda72e7be 100644 --- a/src/NetscriptFunctions/Corporation.ts +++ b/src/NetscriptFunctions/Corporation.ts @@ -675,7 +675,7 @@ export function NetscriptCorporation( issueDividends: function (apercent: any): void { checkAccess("issueDividends"); const percent = helper.number("issueDividends", "percent", apercent); - if (percent < 0 || percent > 100) throw new Error("Invalid value for Cost Per Employee field! Must be numeric, grater than 0, and less than 100"); + if (percent < 0 || percent > 100) throw new Error("Invalid value for percent field! Must be numeric, grater than 0, and less than 100"); const corporation = getCorporation(); IssueDividends(corporation, percent); },