From e6a9c21c0f598bbb982647680d90bdb281c34cf2 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 21 Jul 2024 10:40:10 +0200 Subject: [PATCH] Fix bad item use condition on vesper bay tickets --- Questionable/Controller/Steps/Interactions/UseItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Questionable/Controller/Steps/Interactions/UseItem.cs b/Questionable/Controller/Steps/Interactions/UseItem.cs index 1fd7b6aa..8868f811 100644 --- a/Questionable/Controller/Steps/Interactions/UseItem.cs +++ b/Questionable/Controller/Steps/Interactions/UseItem.cs @@ -131,7 +131,7 @@ internal static class UseItem } int itemCount = inventoryManager->GetInventoryItemCount(ItemId); - if (itemCount == _itemCount) + if (!_usedItem && itemCount == _itemCount) { // TODO Better handling for game-provided errors, i.e. reacting to the 'Could not use' messages. UseItem() is successful in this case (and returns 0) logger.LogInformation(