fixed restart
This commit is contained in:
parent
f9245ace48
commit
77e5c67228
1 changed files with 9 additions and 0 deletions
|
@ -129,6 +129,15 @@ function addKeyListeners() {
|
|||
});
|
||||
|
||||
}
|
||||
else {
|
||||
$("#restartBtn").on('mousedown', function() {
|
||||
init(1);
|
||||
canRestart = false;
|
||||
$("#gameoverscreen").fadeOut();
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
function inside (point, vs) {
|
||||
|
|
Loading…
Reference in a new issue