From 336f28e0146b8b0f4439b06e42a8391cd9c071c9 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 15 Jan 2015 15:00:42 -0800 Subject: [PATCH] repair to places array length --- examples/lobby.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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