Remove unnecessary refund for nonexistent hash upgrades

This commit is contained in:
Undeemiss 2022-05-31 21:15:29 -05:00
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;
} }