Fix high score not updating in baseball

This commit is contained in:
Ryan Huffman 2015-11-13 16:14:53 -08:00
parent 1a756ca422
commit a7dfc99a2e

View file

@ -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 // If a number was passed in, let's see if it is larger than the current high score
// and update it if so. // and update it if so.
if (!isNaN(distanceOrMessage) && highScoreBillboardEntityID) { if (!isNaN(distanceOrMessage) && highScoreBillboardEntityID) {