move to mob/living/Login so this fix applies to all simple animals

This commit is contained in:
Kyep
2020-07-16 03:14:37 -07:00
parent a0d354771b
commit 304412a5e4
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -29,4 +29,6 @@
//Should update regardless of if we can ventcrawl, since we can end up in pipes in other ways.
update_pipe_vision()
walk(src, 0) // if mob is moving under ai control, then stop AI movement
return .
@@ -42,6 +42,5 @@
to_chat(user, "<span class='notice'>Someone else already took this spider.</span>")
return
key = user.key
walk(src, 0) // if spider is moving under ai control (already aggroed on something before player control), then stop AI movement
for(var/mob/dead/observer/G in GLOB.player_list)
G.show_message("<i>A ghost has taken control of <b>[src]</b>. ([ghost_follow_link(src, ghost=G)]).</i>")