瀏覽代碼

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


Loading…
取消
儲存