Skip to content

Commit

Permalink
tiny fix, or not. Idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Gboster-0 committed Aug 29, 2024
1 parent d8adf52 commit 246f240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_core/datum/ai/ai_life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
queue_find_new_objectives = TRUE
frustration_attack = 0

if(owner.attack_next <= world.time)
if(objective_attack && (owner.attack_next <= world.time))
handle_attacking()

if(queue_find_new_objectives)
Expand Down

0 comments on commit 246f240

Please sign in to comment.