mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Added Flooring the Required amount (#904)
This commit is contained in:
parent
400e3e0b08
commit
ff37013074
@ -238,7 +238,8 @@ export class HubGoals extends BasicSerializableObject {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const required = Math.min(200, 4 + (this.level - 27) * 0.25);
|
//Floor Required amount to remove confusion
|
||||||
|
const required = Math.min(200, Math.floor(4 + (this.level - 27) * 0.25));
|
||||||
this.currentGoal = {
|
this.currentGoal = {
|
||||||
definition: this.computeFreeplayShape(this.level),
|
definition: this.computeFreeplayShape(this.level),
|
||||||
required,
|
required,
|
||||||
|
Loading…
Reference in New Issue
Block a user