From a7dfc99a2e54a2083e58739723fbd2a6294cffb9 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Fri, 13 Nov 2015 16:14:53 -0800 Subject: [PATCH] Fix high score not updating in baseball --- examples/baseball/pitching.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/baseball/pitching.js b/examples/baseball/pitching.js index 62492c9563..09f33c9dd4 100644 --- a/examples/baseball/pitching.js +++ b/examples/baseball/pitching.js @@ -362,7 +362,7 @@ function updateBillboard(distanceOrMessage) { }); } - var highScoreBillboardEntityID = getHighScoreBillboardEntityID; + var highScoreBillboardEntityID = getHighScoreBillboardEntityID(); // If a number was passed in, let's see if it is larger than the current high score // and update it if so. if (!isNaN(distanceOrMessage) && highScoreBillboardEntityID) {