Skip to content

Commit

Permalink
Update Route.pm debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrybk authored Jan 13, 2025
1 parent fb66c70 commit 020ea86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Task/Route.pm
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,9 @@ sub iterate {
}

if ($current_pos_to->{x} == $self->{next_pos}{x} && $current_pos_to->{y} == $self->{next_pos}{y}) {
debug "[Test] [Route] Not sending next step ($self->{next_pos}{x}, $self->{next_pos}{y}) because our pos_to is the same as it.\n", "route";
debug "[Route] Not sending next step ($self->{next_pos}{x}, $self->{next_pos}{y}) because our pos_to is the same as it.\n", "route";
if ($self->{lastStep} == 1 && !$self->{sendAttackWithMove} && $self->{meetingSubRoute}) {
debug "[Test] [Route] Also ending task now ang giving back control to AI::Attack.\n", "route";
debug "[Route] Also ending task now ang giving back control to AI::Attack.\n", "route";
Plugins::callHook('route', {status => 'success'});
$self->setDone();
}
Expand Down

0 comments on commit 020ea86

Please sign in to comment.