File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,6 @@ var/list/clothing_prices = list() //gets filled on initialize()
679
679
meat_type = null
680
680
681
681
var /alert_on_movement = 1 // If moved, trigger an alert and become agressive
682
- var /retaliated = FALSE
683
682
684
683
/ mob / living/ simple_animal/ hostile/ retaliate/ spessmart_guardian/ New()
685
684
.. ()
@@ -696,7 +695,7 @@ var/list/clothing_prices = list() //gets filled on initialize()
696
695
qdel (src )
697
696
698
697
/ mob / living/ simple_animal/ hostile/ retaliate/ spessmart_guardian/ update_canmove()
699
- if (retaliated || client)
698
+ if (enemies . len || client)
700
699
canmove = 1
701
700
anchored = 0
702
701
else
@@ -712,7 +711,7 @@ var/list/clothing_prices = list() //gets filled on initialize()
712
711
713
712
/ mob / living/ simple_animal/ hostile/ retaliate/ spessmart_guardian/ Retaliate()
714
713
. = .. ()
715
- if (! retaliated )
714
+ if (! enemies . len )
716
715
spawn (5 )
717
716
wander = 1
718
717
canmove = 1
You can’t perform that action at this time.
0 commit comments