diff --git a/js/initialization.js b/js/initialization.js index f118c4b..f7088e9 100644 --- a/js/initialization.js +++ b/js/initialization.js @@ -10,7 +10,7 @@ function showbottombar() { setTimeout(showbottombar, 1000); } else { window.iframeHasLoaded = true; - if (!(gameState == 1 || gameState == 2)) { + if (gameState != 1) { $('#bottombar').fadeIn(150, 'linear'); } } diff --git a/js/view.js b/js/view.js index 3309d0f..e29fefa 100644 --- a/js/view.js +++ b/js/view.js @@ -166,6 +166,7 @@ function gameOverDisplay(){ var c = document.getElementById("canvas"); c.className = "blur"; showText('gameover'); + showbottombar(); } function togglePlayIcon (){