Fix loot rewards

This commit is contained in:
Anthony Calosa
2022-11-25 05:14:42 +08:00
parent 58ea27bde5
commit c22eaf4030

View File

@@ -135,6 +135,7 @@ public class RewardScene extends UIScene {
continue; continue;
} }
RewardActor reward = (RewardActor) actor; RewardActor reward = (RewardActor) actor;
if (type == Type.Loot)
AdventurePlayer.current().addReward(reward.getReward()); AdventurePlayer.current().addReward(reward.getReward());
reward.clearHoldToolTip(); reward.clearHoldToolTip();
try { try {