Adding one more get-from-storage.

This commit is contained in:
Sergiotarxz 2023-06-27 02:45:43 +02:00
parent 9765d3b0dc
commit fd0017eb0d

View File

@ -238,6 +238,7 @@ sub on_level_up ( $self, $old_level ) {
my $old_experience = $self->experience; my $old_experience = $self->experience;
my $team = $self->team; my $team = $self->team;
my $enemy_team = $self->_enemy_team; my $enemy_team = $self->_enemy_team;
$self = $self->get_from_storage;
$self->health($self->max_health); $self->health($self->max_health);
$self->update; $self->update;
for my $member ( $team->combat_members->@* ) { for my $member ( $team->combat_members->@* ) {