3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-23 02:24:25 +01:00

Rectify minor whitespace ugliness

This commit is contained in:
Pragmatic Software 2019-04-27 14:45:59 -07:00
parent 2e41641037
commit 8bd1a00ce2

View File

@ -299,9 +299,7 @@ sub rank {
my $rank = 0; my $rank = 0;
my $last_value = -1; my $last_value = -1;
foreach my $player (@$players) { foreach my $player (@$players) {
my $entry; my $entry = $ranks{$arguments}->{print}->($player);
$entry = $ranks{$arguments}->{print}->($player);
if (defined $entry) { if (defined $entry) {
my ($value) = $entry =~ /[^:]+:\s+(.*)/; my ($value) = $entry =~ /[^:]+:\s+(.*)/;
$rank++ if $value ne $last_value; $rank++ if $value ne $last_value;