[MIRROR] Fixes accidental line deletion with slime loyalty potions (#11494)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-22 21:00:41 -07:00
committed by GitHub
parent f85a202d80
commit f3954fdbeb

View File

@@ -206,6 +206,7 @@
to_chat(user, span_notice("You feed \the [M] the agent. It will now try to murder things that want to murder you instead."))
to_chat(M, span_notice("\The [user] feeds you \the [src], and feel that the others will regard you as an outsider now."))
M.faction = user.faction
AI.remove_target() // So hostile things stop attacking people even if not hostile anymore.
if(istype(M, /mob/living/simple_mob/slime))
var/mob/living/simple_mob/slime/slime = M