fate peddler work

This commit is contained in:
2023-08-09 14:53:05 -05:00
parent 39e0059f28
commit 7c931e87a4
+4 -2
View File
@@ -428,10 +428,12 @@ public enum LootManager {
}
//remove gift from inventory
itemMan.delete(gift);
itemMan.junk(gift);
//add winnings to player inventory
itemMan.updateInventory(winnings.promoteToItem((PlayerCharacter)character),true);
Item playerWinnings = winnings.promoteToItem((PlayerCharacter)character);
itemMan.addItemToInventory(playerWinnings);
itemMan.updateInventory(playerWinnings,true);
}
}