diff --git a/src/Netscript/APIWrapper.ts b/src/Netscript/APIWrapper.ts index 05b21d51e..6844f45f5 100644 --- a/src/Netscript/APIWrapper.ts +++ b/src/Netscript/APIWrapper.ts @@ -88,8 +88,8 @@ function wrapFunction( makeRuntimeErrorMsg: (msg: string) => helpers.makeRuntimeErrorMsg(functionPath, msg), string: (argName: string, v: unknown) => helpers.string(functionPath, argName, v), number: (argName: string, v: unknown) => helpers.number(functionPath, argName, v), - ustring: (argName: string, v: unknown) => helpers.string(functionPath, argName, v), - unumber: (argName: string, v: unknown) => helpers.number(functionPath, argName, v), + ustring: (argName: string, v: unknown) => helpers.ustring(functionPath, argName, v), + unumber: (argName: string, v: unknown) => helpers.unumber(functionPath, argName, v), scriptArgs: (v: unknown) => helpers.scriptArgs(functionPath, v), scriptIdentifier: (fn: unknown, hostname: unknown, args: unknown) => helpers.scriptIdentifier(functionPath, fn, hostname, args),