Prechádzať zdrojové kódy

Fix hyperlinking from keyboard

Reddo 5 rokov pred
rodič
commit
33d217a7ea

+ 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();