Fixing install.

This commit is contained in:
Sergiotarxz 2023-06-05 02:18:03 +02:00
parent fca82dba2b
commit caa8fa7b75
2 changed files with 3 additions and 1 deletions

View File

@ -174,6 +174,7 @@ sub _insert_new_player ( $self, $owner, $full_name, $short_name, $nick, $race )
inventory => $uuid_inventory,
}
)->insert;
die "Error setting leader";
$team->leader($uuid_pj);
$team->update;
}

View File

@ -26,4 +26,5 @@ my $dh = DH->new(
}
);
$dh->install;
$dh->install({version => 1});
$dh->upgrade;