mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Fixes accidental line deletion with slime loyalty potions (#11494)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f85a202d80
commit
f3954fdbeb
@@ -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(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."))
|
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.
|
AI.remove_target() // So hostile things stop attacking people even if not hostile anymore.
|
||||||
if(istype(M, /mob/living/simple_mob/slime))
|
if(istype(M, /mob/living/simple_mob/slime))
|
||||||
var/mob/living/simple_mob/slime/slime = M
|
var/mob/living/simple_mob/slime/slime = M
|
||||||
|
|||||||
Reference in New Issue
Block a user