Fix bad item use condition on vesper bay tickets
This commit is contained in:
parent
7ee7df90b8
commit
e6a9c21c0f
@ -131,7 +131,7 @@ internal static class UseItem
|
|||||||
}
|
}
|
||||||
|
|
||||||
int itemCount = inventoryManager->GetInventoryItemCount(ItemId);
|
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)
|
// 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(
|
logger.LogInformation(
|
||||||
|
Loading…
Reference in New Issue
Block a user