1
0
Fork 0

Fix bad item use condition on vesper bay tickets

master
Liza 2024-07-21 10:40:10 +02:00
parent 7ee7df90b8
commit e6a9c21c0f
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 1 additions and 1 deletions

View File

@ -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(