Add more planets
This commit is contained in:
parent
504f5fcc0c
commit
6cad5551bb
13 changed files with 748 additions and 23 deletions
|
@ -104,6 +104,8 @@ export function crash() {
|
|||
}
|
||||
|
||||
export function gameOver(reason) {
|
||||
if (game.state.editing)
|
||||
endEditing();
|
||||
gameOverReason = reason;
|
||||
game.state.gameOver = true;
|
||||
game.state.inventory = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue