mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 17:53:55 +01:00
fix rm
This commit is contained in:
parent
86a20b8571
commit
2985cf1cec
@ -2062,9 +2062,8 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
const iport = helper.getValidPort("getPortHandle", port);
|
||||
return iport;
|
||||
},
|
||||
rm: function (_fn: unknown, _hostname: unknown): boolean {
|
||||
rm: function (_fn: unknown, hostname: any): boolean {
|
||||
const fn = helper.string("rm", "fn", _fn);
|
||||
let hostname = helper.string("rm", "hostname", _hostname);
|
||||
updateDynamicRam("rm", getRamCost(Player, "rm"));
|
||||
|
||||
if (hostname == null || hostname === "") {
|
||||
|
Loading…
Reference in New Issue
Block a user