diff --git a/examples/lobby.js b/examples/lobby.js index 5c856f1862..647202bebc 100644 --- a/examples/lobby.js +++ b/examples/lobby.js @@ -158,7 +158,7 @@ function changeLobbyTextures() { }; for (var j = 0; j < NUM_PANELS; j++) { - panelIndex = locationIndexToPanelIndex(j); + var panelIndex = locationIndexToPanelIndex(j); textureProp["textures"]["file" + panelIndex] = "http:" + locations[j].thumbnail_url; };