diff --git a/js_v9/input.js b/js_v9/input.js index 6f74d5e..c559fb0 100644 --- a/js_v9/input.js +++ b/js_v9/input.js @@ -129,6 +129,15 @@ function addKeyListeners() { }); } + else { + $("#restartBtn").on('mousedown', function() { + init(1); + canRestart = false; + $("#gameoverscreen").fadeOut(); + }); + + + } } function inside (point, vs) {