mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
makes slimes clear target on death, and delete actions, and abort walking on destroy (#26621)
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
if(buckled)
|
||||
Feedstop(silent = TRUE) //releases ourselves from the mob we fed on.
|
||||
|
||||
if(Target)
|
||||
Target = null
|
||||
|
||||
if(!gibbed)
|
||||
if(is_adult)
|
||||
var/mob/living/simple_animal/slime/M = new(loc, colour)
|
||||
|
||||
@@ -103,9 +103,11 @@
|
||||
add_language("Bubblish")
|
||||
|
||||
/mob/living/simple_animal/slime/Destroy()
|
||||
walk_to(src, 0)
|
||||
for(var/A in actions)
|
||||
var/datum/action/AC = A
|
||||
AC.Remove(src)
|
||||
qdel(AC)
|
||||
Target = null
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user