From 47324d28eca5d1a3e505224d7c5356edfbc3bef6 Mon Sep 17 00:00:00 2001 From: Waselon <69199543+Waselon@users.noreply.github.com> Date: Sat, 7 Sep 2024 22:27:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=93=D0=A6=20?= =?UTF-8?q?=D0=98=D0=98=20(#247)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update ai.dm Signed-off-by: Waselon <69199543+Waselon@users.noreply.github.com> * Update ai.dm Signed-off-by: Waselon <69199543+Waselon@users.noreply.github.com> --------- Signed-off-by: Waselon <69199543+Waselon@users.noreply.github.com> --- code/modules/mob/living/silicon/ai/ai.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/silicon/ai/ai.dm b/code/modules/mob/living/silicon/ai/ai.dm index 0f5a42e1250..0873ac8dd8d 100644 --- a/code/modules/mob/living/silicon/ai/ai.dm +++ b/code/modules/mob/living/silicon/ai/ai.dm @@ -152,6 +152,10 @@ UnregisterSignal(SSdcs, COMSIG_GLOB_CLONE_PRODUCED) UnregisterSignal(SSdcs, COMSIG_GLOB_HOLOPAD_AI_CALLED) QDEL_NULL(mini) + QDEL_NULL(current_order) + QDEL_NULL(eyeobj) + for(var/datum/action/action_to_remove AS in actions) + action_to_remove.target = null return ..() ///Print order visual to all marines squad hud and give them an arrow to follow the waypoint