Ver código fonte

Fix a typo and a missing exit argument

tags/v0.1.2
Fen Dweller 6 anos atrás
pai
commit
794ab0cec7
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: E80B35A6F11C3656
1 arquivos alterados com 3 adições e 2 exclusões
  1. +3
    -2
      stories/demo.js

+ 3
- 2
stories/demo.js Ver arquivo

@@ -99,9 +99,10 @@ stories.push({
},
"descend": {
"target": "Stairs",
"desc": "Dare you go down the stiars?",
"desc": "Dare you go down the stairs?",
"hooks": [
(room, state) => {
(room, exit, state) => {
console.log(state)
print(["You're very concerned that you'll fall down all these stairs."]);
return false;
}


Carregando…
Cancelar
Salvar