v0.9.1: fixed talent point msg not showing up after lvl 6 test test tes

This commit is contained in:
Evan Debenham 2020-11-24 14:17:36 -05:00
parent 65a6c54b98
commit 9c75859126

View File

@ -1455,7 +1455,7 @@ public class Hero extends Char {
GLog.p( Messages.get(this, "new_level") );
sprite.showStatus( CharSprite.POSITIVE, Messages.get(Hero.class, "level_up") );
Sample.INSTANCE.play( Assets.Sounds.LEVELUP );
if (lvl <= 6){
if (lvl < Talent.tierLevelThresholds[Talent.MAX_TALENT_TIERS+1]){
GLog.newLine();
GLog.p( Messages.get(this, "new_talent") );
StatusPane.talentBlink = 10f;