mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Improved migration
This commit is contained in:
parent
737a0b03ad
commit
f1599bf566
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export class Migration_2_6_0 extends MigrationHandlerBase {
|
|||
|
||||
/** @inheritdoc */
|
||||
async updateActorSource(actor) {
|
||||
if (actor.type === 'party') {
|
||||
if (actor.type === 'party' && Object.keys(actor.system.tagTeam.members).length) {
|
||||
return {
|
||||
_id: actor._id,
|
||||
system: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue