mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 14:13:48 +01:00
Remove unnecessary refund for nonexistent hash upgrades
This commit is contained in:
parent
f0dc532513
commit
620e6986aa
@ -576,7 +576,6 @@ export function purchaseHashUpgrade(player: IPlayer, upgName: string, upgTarget:
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
console.warn(`Unrecognized upgrade name ${upgName}. Upgrade has no effect`);
|
console.warn(`Unrecognized upgrade name ${upgName}. Upgrade has no effect`);
|
||||||
player.hashManager.refundUpgrade(upgName, count);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user