allbuild commit /usr/bin/git

This commit is contained in:
Olivier Gagnon 2022-03-17 17:52:58 -04:00
parent ceb2a48d9f
commit f17e685744
3 changed files with 5 additions and 4 deletions

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 { spendHashes: function (_upgName: unknown, _upgTarget: unknown): boolean {
const upgName = helper.string("spendHashes", "upgName", _upgName); 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)) { if (!hasHacknetServers(player)) {
return false; return false;
} }