fate peddler work
This commit is contained in:
1 parent
39e0059f28
commit
7c931e87a4
1 file changed
+4
-2
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user