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
1 changed files with 3 additions and 0 deletions

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