From 7f6584297efec60e1a00b2d52befb8fa1a54484f Mon Sep 17 00:00:00 2001 From: isaisstillalive Date: Fri, 3 Jul 2020 19:53:09 +0900 Subject: [PATCH] Fixed Fill blueprint shapes of SandboxController may not work --- src/js/game/hud/parts/sandbox_controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/game/hud/parts/sandbox_controller.js b/src/js/game/hud/parts/sandbox_controller.js index 07a3081a..6bf277bb 100644 --- a/src/js/game/hud/parts/sandbox_controller.js +++ b/src/js/game/hud/parts/sandbox_controller.js @@ -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; }