mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Update hub.js
This commit is contained in:
parent
07ac928717
commit
bf96ca0b02
@ -89,10 +89,8 @@ export class HubSystem extends GameSystemWithFilter {
|
|||||||
const delivered = this.root.hubGoals.getCurrentGoalDelivered();
|
const delivered = this.root.hubGoals.getCurrentGoalDelivered();
|
||||||
const deliveredText = "" + formatBigNumber(delivered);
|
const deliveredText = "" + formatBigNumber(delivered);
|
||||||
|
|
||||||
if (delivered > 9999) {
|
if (delivered > 999) {
|
||||||
context.font = "bold 16px GameFont";
|
context.font = "bold 16px GameFont";
|
||||||
} else if (delivered > 999) {
|
|
||||||
context.font = "bold 20px GameFont";
|
|
||||||
} else {
|
} else {
|
||||||
context.font = "bold 25px GameFont";
|
context.font = "bold 25px GameFont";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user