1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 11:41:50 +00:00

Added comment on recalculateGoals() function.

This commit is contained in:
hexagonhexagon 2020-06-05 22:40:15 -04:00
parent 0fce0962c6
commit af669ae126

View File

@ -89,6 +89,10 @@ export class HUDPinnedShapes extends BaseHUDPart {
}
}
/**
* Updates the goal amounts in the pins when an upgrade is made.
* @param {string} upgradeId
*/
recalculateGoals(upgradeId) {
const amountForUpgradeShape = {};