Преглед на файлове

Fix a typo and a missing exit argument

tags/v0.1.2
Fen Dweller преди 6 години
родител
ревизия
794ab0cec7
No known key found for this signature in database GPG Key ID: 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;
}


Loading…
Отказ
Запис