From fd0017eb0df7c56bc0a4d738cf346f224d55f98a Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Tue, 27 Jun 2023 02:45:43 +0200 Subject: [PATCH] Adding one more get-from-storage. --- lib/LasTres/Schema/Result/PJ.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/LasTres/Schema/Result/PJ.pm b/lib/LasTres/Schema/Result/PJ.pm index 7268d25..94858a1 100644 --- a/lib/LasTres/Schema/Result/PJ.pm +++ b/lib/LasTres/Schema/Result/PJ.pm @@ -238,6 +238,7 @@ sub on_level_up ( $self, $old_level ) { my $old_experience = $self->experience; my $team = $self->team; my $enemy_team = $self->_enemy_team; + $self = $self->get_from_storage; $self->health($self->max_health); $self->update; for my $member ( $team->combat_members->@* ) {