Adding one more get-from-storage.
This commit is contained in:
parent
9765d3b0dc
commit
fd0017eb0d
@ -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->@* ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user