screp: show slot numbers in player summary
[perl/schtarr.git] / screp
diff --git a/screp b/screp
index edf643e8a57a8e4011f67c44a9c6c0c35634e443..4b896b58c8b20e98e030c11c0763adde85d45b43 100755 (executable)
--- a/screp
+++ b/screp
@@ -524,7 +524,8 @@ for my $player (sort keys %stats) {
        $row->{last} ||= $map->[-1][0];
 #      printf("%-16s%6d actions (%3d micro,%4d macro);%4d APM\n",
        my $name = showplayer($player);
-       printf("%-16s%6d actions in%7d frames (%s) = %d APM\n",
+       printf("%d %-16s%6d actions in%7d frames (%s) = %d APM\n",
+               $row->{slot},
                $name, $row->{actions}, $row->{last},
                showtime($row->{last}),
 #              $row->{micro} / $row->{last} * 60 / .042 * 1.05,