Fix level remaining

This commit is contained in:
sladecraven 2022-09-25 17:52:29 +02:00
parent a9d0a99129
commit 1e3faf7186
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) {

View File

@ -253,7 +253,7 @@
],
"title": "Pegasus RPG",
"url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg",
"version": "10.0.16",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v10.0.16.zip",
"version": "10.0.17",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-pegasus-rpg/archive/fvtt-pegasus-rpg-v10.0.17.zip",
"background": "systems/fvtt-pegasus-rpg/images/ui/pegasus_welcome_page.webp"
}