mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Retaliate mobs no longer break stuff after revived with a laz injector. (#24665)
This commit is contained in:
@@ -29,6 +29,12 @@
|
||||
M.can_collar = TRUE
|
||||
if(ishostile(target))
|
||||
var/mob/living/simple_animal/hostile/H = M
|
||||
if(isretaliate(target))
|
||||
// Clear the enemies list so we don't break windows
|
||||
// to get to people we no longer hate.
|
||||
var/mob/living/simple_animal/hostile/retaliate/R = H
|
||||
R.enemies.Cut()
|
||||
|
||||
if(malfunctioning)
|
||||
H.faction |= list("lazarus", "\ref[user]")
|
||||
H.robust_searching = TRUE
|
||||
|
||||
Reference in New Issue
Block a user