Fix level remaining

This commit is contained in:
sladecraven 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() { getLevelRemaining() {
return this.system.biodata.currentlevelremaining return this.system.biodata?.currentlevelremaining || 0
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
modifyHeroLevelRemaining(incDec) { modifyHeroLevelRemaining(incDec) {

View File

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