mirror of
https://github.com/MrEidam/PetPet.git
synced 2026-04-17 15:43:31 +00:00
Hotfix with score using arrows
This commit is contained in:
@@ -191,19 +191,23 @@ function hasEmptyTile() {
|
||||
function left(){
|
||||
slideLeft();
|
||||
setTwo();
|
||||
document.getElementById("score").innerText = score;
|
||||
}
|
||||
|
||||
function up(){
|
||||
slideUp();
|
||||
setTwo();
|
||||
document.getElementById("score").innerText = score;
|
||||
}
|
||||
|
||||
function down(){
|
||||
slideDown();
|
||||
setTwo();
|
||||
document.getElementById("score").innerText = score;
|
||||
}
|
||||
|
||||
function right(){
|
||||
slideRight();
|
||||
setTwo();
|
||||
document.getElementById("score").innerText = score;
|
||||
}
|
||||
Reference in New Issue
Block a user