mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
allbuild commit /usr/bin/git
This commit is contained in:
parent
ceb2a48d9f
commit
f17e685744
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -179,7 +179,8 @@ export function NetscriptHacknet(player: IPlayer, workerScript: WorkerScript, he
|
||||
},
|
||||
spendHashes: function (_upgName: unknown, _upgTarget: unknown): boolean {
|
||||
const upgName = helper.string("spendHashes", "upgName", _upgName);
|
||||
const upgTarget = helper.string("spendHashes", "upgTarget", _upgTarget);
|
||||
let upgTarget = "";
|
||||
if (_upgTarget !== undefined) upgTarget = helper.string("spendHashes", "upgTarget", _upgTarget);
|
||||
if (!hasHacknetServers(player)) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user