mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 19:04:27 +02:00
Fix high score not updating in baseball
This commit is contained in:
parent
1a756ca422
commit
a7dfc99a2e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue