Просмотр исходного кода

Fix a typo and a missing exit argument

tags/v0.1.2
Fen Dweller 6 лет назад
Родитель
Сommit
794ab0cec7
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E80B35A6F11C3656
1 измененных файлов: 3 добавлений и 2 удалений
  1. +3
    -2
      stories/demo.js

+ 3
- 2
stories/demo.js Просмотреть файл

@@ -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;
}


Загрузка…
Отмена
Сохранить