From 4df2489ff9cac4d7d0a5336712c485e219dc618a Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 31 Jan 2017 13:16:07 -0800 Subject: [PATCH] Fix scoreboard not updating in shortbow --- .../Toybox/towerDefense/playWaveGame.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js b/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js index 9294550e22..03b45b36c6 100644 --- a/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js +++ b/unpublishedScripts/DomainContent/Toybox/towerDefense/playWaveGame.js @@ -120,22 +120,26 @@ function createLocalGame() { goalPosition.y += BASES_HEIGHT - ROOF_HEIGHT; waveDisplayID = spawnTemplate("SB.DisplayWave", { - parentID: scoreboardID + parentID: scoreboardID, + serverScripts: "null" }); entityIDs.push(waveDisplayID); scoreDisplayID = spawnTemplate("SB.DisplayScore", { - parentID: scoreboardID + parentID: scoreboardID, + serverScripts: "null" }); entityIDs.push(scoreDisplayID); livesDisplayID = spawnTemplate("SB.DisplayLives", { - parentID: scoreboardID + parentID: scoreboardID, + serverScripts: "null" }); entityIDs.push(livesDisplayID); highScoreDisplayID = spawnTemplate("SB.DisplayHighScore", { - parentID: scoreboardID + parentID: scoreboardID, + serverScripts: "null" }); entityIDs.push(highScoreDisplayID);