Fix level remaining

This commit is contained in:
2022-09-25 17:52:29 +02:00
parent a9d0a99129
commit 6067f02aed
2 changed files with 3 additions and 3 deletions

View File

@ -1120,7 +1120,7 @@ export class PegasusActor extends Actor {
/* -------------------------------------------- */
getLevelRemaining() {
return this.system.biodata.currentlevelremaining
return this.system.biodata?.currentlevelremaining || 0
}
/* -------------------------------------------- */
modifyHeroLevelRemaining(incDec) {