… | |
… | |
55 | || $y != $queue->[-1][2]; |
55 | || $y != $queue->[-1][2]; |
56 | |
56 | |
57 | # try to move to oldest position |
57 | # try to move to oldest position |
58 | if (@$queue > $MAX_QUEUE) { |
58 | if (@$queue > $MAX_QUEUE) { |
59 | $who->message ($target->name . " is too far away - you can't follow anymore!"); |
59 | $who->message ($target->name . " is too far away - you can't follow anymore!"); |
60 | unfollow $target->name; |
60 | unfollow $who->name; |
61 | } elsif (@$queue) { |
61 | } elsif (@$queue) { |
62 | my ($map, $x, $y) = @{ $queue->[0] }; |
62 | my ($map, $x, $y) = @{ $queue->[0] }; |
63 | |
63 | |
64 | $map->load; |
64 | $map->load; |
65 | |
65 | |