mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
Slime AI update (#5309)
Adds a check to the slime AI to loose interest in the current victim if it is dead.
This commit is contained in:
@@ -281,6 +281,9 @@
|
||||
|
||||
/mob/living/carbon/slime/proc/handle_AI() // the master AI process
|
||||
|
||||
if(Victim && Victim.stat & DEAD)
|
||||
Victim = null
|
||||
|
||||
if(stat == DEAD || client || Victim) return // If we're dead or have a client, we don't need AI, if we're feeding, we continue feeding
|
||||
AIproc = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user