diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2019-01-19 13:25:51 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2019-01-19 13:25:51 +0900 |
commit | 9454e936894dc7e11bd988aff26b2837018cae0d (patch) | |
tree | 1d76ebd04ce30513c81ae7343c1e4a8f48540995 | |
parent | 619bb9309cd010494640d04da9087d74edaeec80 (diff) |
parser: fix fight total not being reset to 0
-rw-r--r-- | Logs/parse.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/parse.pl b/Logs/parse.pl index ca1079e..144da11 100644 --- a/Logs/parse.pl +++ b/Logs/parse.pl @@ -81,7 +81,7 @@ sub print_selfdetails { sub print_summary { our $duration = $time_end - $time_start + 1; - our $total_damage; + our $total_damage = 0; our $mainmob = 'fight'; printf "Duration: %d (%s - %s)\n", $duration, time2str("%Y-%m-%d %T", $time_start), time2str("%T", $time_end); foreach my $player (sort { $players{$b}{damaged} <=> $players{$a}{damaged} } keys %players) { |