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

Merge pull request #382 from isaisstillalive/patch-3

Fixed Fill blueprint shapes of SandboxController may not work
This commit is contained in:
tobspr 2020-07-04 16:35:23 +02:00 committed by GitHub
commit ff1c1700fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}