Skip to content

Commit a082d02

Browse files
Update spessmart.dm
1 parent e12723b commit a082d02

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

maps/randomvaults/spessmart.dm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,6 @@ var/list/clothing_prices = list() //gets filled on initialize()
679679
meat_type = null
680680

681681
var/alert_on_movement = 1 //If moved, trigger an alert and become agressive
682-
var/retaliated = FALSE
683682

684683
/mob/living/simple_animal/hostile/retaliate/spessmart_guardian/New()
685684
..()
@@ -696,7 +695,7 @@ var/list/clothing_prices = list() //gets filled on initialize()
696695
qdel(src)
697696

698697
/mob/living/simple_animal/hostile/retaliate/spessmart_guardian/update_canmove()
699-
if(retaliated || client)
698+
if(enemies.len || client)
700699
canmove = 1
701700
anchored = 0
702701
else
@@ -712,7 +711,7 @@ var/list/clothing_prices = list() //gets filled on initialize()
712711

713712
/mob/living/simple_animal/hostile/retaliate/spessmart_guardian/Retaliate()
714713
. = ..()
715-
if(!retaliated)
714+
if(!enemies.len)
716715
spawn(5)
717716
wander = 1
718717
canmove = 1

0 commit comments

Comments
 (0)