From 6c40cf0aae5215bf3507996a3be045d64487a0e3 Mon Sep 17 00:00:00 2001 From: Waselon <69199543+Waselon@users.noreply.github.com> Date: Sat, 7 Sep 2024 22:19:00 +0300 Subject: [PATCH] Update ai.dm Signed-off-by: Waselon <69199543+Waselon@users.noreply.github.com> --- code/modules/mob/living/silicon/ai/ai.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index 22ffd424cc1..0873ac8dd8d 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -154,8 +154,7 @@ QDEL_NULL(mini) QDEL_NULL(current_order) QDEL_NULL(eyeobj) - for(var/a in actions) - var/datum/action/action_to_remove = a + for(var/datum/action/action_to_remove AS in actions) action_to_remove.target = null return ..()