diff --git a/examples/lobby.js b/examples/lobby.js index 87ffddcf17..636f0a95f1 100644 --- a/examples/lobby.js +++ b/examples/lobby.js @@ -253,7 +253,7 @@ function actionStartEvent(event) { if (panelStringIndex != -1) { var panelIndex = parseInt(panelName.slice(5)); var placeIndex = panelIndexToPlaceIndex(panelIndex); - if (placeIndex < place.length) { + if (placeIndex < places.length) { var actionPlace = places[placeIndex]; print("Jumping to " + actionPlace.name + " at " + actionPlace.address