1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Fixed Fill blueprint shapes of SandboxController may not work

This commit is contained in:
isaisstillalive 2020-07-03 19:53:09 +09:00
parent 503f9a7fe5
commit 7f6584297e

View File

@ -75,6 +75,9 @@ export class HUDSandboxController extends BaseHUDPart {
}
giveBlueprints() {
if (!this.root.hubGoals.storedShapes[blueprintShape]) {
this.root.hubGoals.storedShapes[blueprintShape] = 0;
}
this.root.hubGoals.storedShapes[blueprintShape] += 1e4;
}