v0.9.0b: fixed "+1 Talent Point" displaying after hero level 6

This commit is contained in:
Evan Debenham 2020-10-12 19:34:38 -04:00
parent f18b83b8cf
commit 1a3eade255

View File

@ -1449,7 +1449,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 (talentPointsAvailable() > 0){
if (lvl <= 6){
GLog.newLine();
GLog.p( Messages.get(this, "new_talent") );
StatusPane.talentBlink = 10f;