1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-07 10:03:59 +00:00

Fix debug option being enabled by default

This commit is contained in:
tobspr 2022-06-20 10:30:12 +02:00
parent 8c5e593ceb
commit 773609a2e2

View File

@ -287,7 +287,6 @@ export class HubGoals extends BasicSerializableObject {
* @param {string} upgradeId * @param {string} upgradeId
*/ */
canUnlockUpgrade(upgradeId) { canUnlockUpgrade(upgradeId) {
return true;
const tiers = this.root.gameMode.getUpgrades()[upgradeId]; const tiers = this.root.gameMode.getUpgrades()[upgradeId];
const currentLevel = this.getUpgradeLevel(upgradeId); const currentLevel = this.getUpgradeLevel(upgradeId);