From 7441e3b182138901d4bd12f4fd6045f1cd209d37 Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Sun, 1 Dec 2013 02:32:19 -0800 Subject: [PATCH] Pre-load buttons and text for the difficulty screen --- js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/main.js b/js/main.js index 18051e7..c3d1127 100755 --- a/js/main.js +++ b/js/main.js @@ -71,6 +71,7 @@ function GameState(){ // Screens queue.loadFile( {id: "res/screens/DifficultyScreen/Difficulty-Selection.png", src:"res/screens/DifficultyScreen/Difficulty-Selection.png"} ); + queue.loadFile( {id: "res/screens/DifficultyScreen/ButtonsandText.png", src:"res/screens/DifficultyScreen/ButtonsandText.png"} ); queue.loadFile( {id: "res/screens/DifficultyScreen/ButtonMale.png", src:"res/screens/DifficultyScreen/ButtonMale.png"} ); queue.loadFile( {id: "res/screens/DifficultyScreen/ButtonFemale.png", src:"res/screens/DifficultyScreen/ButtonFemale.png"} );