瀏覽代碼

Fix hyperlinking from keyboard

Reddo 5 年之前
父節點
當前提交
33d217a7ea
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/World/Classes/Action/ActionInventory.ts

+ 1 - 0
app/World/Classes/Action/ActionInventory.ts

@@ -87,6 +87,7 @@ class ActionInventory extends Action {
             }));
 
             let chosenThing = await chosenPromise;
+            rulebook.noun.setNoun(0, chosenThing);
             if (chosenThing != undefined) {
                 Elements.CurrentTurnHandler.unprint(...buttons);
                 Controls.KeyHandler.reset();