mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
.
This commit is contained in:
parent
38868fdab6
commit
33751a3383
1 changed files with 1 additions and 1 deletions
|
|
@ -234,9 +234,9 @@ export class DhCountdown extends foundry.abstract.DataModel {
|
|||
/** @inheritDoc */
|
||||
static migrateData(source) {
|
||||
if (source.progress.max) {
|
||||
source.progress.startFormula = source.progress.max;
|
||||
source.progress.start = Number(source.progress.max);
|
||||
source.progress.max = null;
|
||||
source.progress.startFormula = null;
|
||||
}
|
||||
|
||||
return super.migrateData(source);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue