|
|
|
@ -174,7 +174,8 @@ |
|
|
|
|
|
|
|
|
|
// act on it
|
|
|
|
|
if(result=='retry') { |
|
|
|
|
restart(); |
|
|
|
|
const {category, levelId, filename}=snek.userdata; |
|
|
|
|
startGame(category, levelId, filename); |
|
|
|
|
} else if(result=='menu') { |
|
|
|
|
location.hash='menu'; |
|
|
|
|
} else if(result=='next') { |
|
|
|
@ -208,7 +209,8 @@ |
|
|
|
|
|
|
|
|
|
// act on it
|
|
|
|
|
if(result=='retry') { |
|
|
|
|
restart(); |
|
|
|
|
const {category, levelId, filename}=snek.userdata; |
|
|
|
|
startGame(category, levelId, filename); |
|
|
|
|
} else if(result=='menu') { |
|
|
|
|
location.hash='menu'; |
|
|
|
|
} |
|
|
|
|