Explorar el Código

Fix a typo and a missing exit argument

tags/v0.1.2
Fen Dweller hace 6 años
padre
commit
794ab0cec7
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: E80B35A6F11C3656
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      stories/demo.js

+ 3
- 2
stories/demo.js Ver fichero

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


Cargando…
Cancelar
Guardar