Skip to content

Commit

Permalink
refactor: add missing var
Browse files Browse the repository at this point in the history
  • Loading branch information
iurynogueira authored Sep 17, 2024
1 parent 144f0b5 commit d9adbb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AI/Attack.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ use Utils::PathFinding;
sub process {
Benchmark::begin("ai_attack") if DEBUG;
my $args = AI::args;
my $action = AI::action;

if (shouldAttack($action, $args)) {
my $ID;
Expand Down

0 comments on commit d9adbb4

Please sign in to comment.