浏览代码

Fix a typo and a missing exit argument

tags/v0.1.2
Fen Dweller 6 年前
父节点
当前提交
794ab0cec7
找不到此签名对应的密钥 GPG 密钥 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;
}


正在加载...
取消
保存