Pārlūkot izejas kodu

Fix hyperlinking from keyboard

Reddo 5 gadi atpakaļ
vecāks
revīzija
33d217a7ea
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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();