From 9c9bfeed333d75b18f6e8b182fffc9da67e43dc1 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 10 Dec 2014 14:27:37 -0800 Subject: [PATCH] Add missing 'var' to local variable --- examples/lobby.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };