v1.1.0: fixed metamorphosis selection window not showing changed talents

This commit is contained in:
Evan Debenham 2021-12-01 20:32:38 -05:00
parent ebc8d7ecb5
commit d467032baa

View File

@ -122,7 +122,7 @@ public class ScrollOfMetamorphosis extends ExoticScroll {
top = text.bottom() + 2; top = text.bottom() + 2;
ArrayList<LinkedHashMap<Talent, Integer>> talents = new ArrayList<>(); ArrayList<LinkedHashMap<Talent, Integer>> talents = new ArrayList<>();
Talent.initClassTalents(Dungeon.hero.heroClass, talents); Talent.initClassTalents(Dungeon.hero.heroClass, talents, Dungeon.hero.metamorphedTalents);
TalentsPane p = new TalentsPane(TalentButton.Mode.METAMORPH_CHOOSE, talents); TalentsPane p = new TalentsPane(TalentButton.Mode.METAMORPH_CHOOSE, talents);
add(p); add(p);
p.setPos(0, top); p.setPos(0, top);