Skip to content

Commit c3af2ae

Browse files
belongs here
1 parent 285dfd4 commit c3af2ae

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

maps/randomvaults/spessmart.dm

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -685,12 +685,6 @@ var/list/clothing_prices = list() //gets filled on initialize()
685685
overlays.Add(image('icons/mob/robots.dmi', icon_state = "eyes-securitron"))
686686

687687
/mob/living/simple_animal/hostile/spessmart_guardian/Life()
688-
if(retaliated || client)
689-
canmove = 1
690-
anchored = 0
691-
else
692-
canmove = 0
693-
anchored = 1
694688
EscapeConfinement()
695689
..()
696690

@@ -699,6 +693,15 @@ var/list/clothing_prices = list() //gets filled on initialize()
699693
robogibs(get_turf(src))
700694
qdel(src)
701695

696+
/mob/living/simple_animal/hostile/spessmart_guardian/update_canmove()
697+
if(retaliated || client)
698+
canmove = 1
699+
anchored = 0
700+
else
701+
canmove = 0
702+
anchored = 1
703+
return canmove
704+
702705
/mob/living/simple_animal/hostile/spessmart_guardian/Move(NewLoc, Dir = 0, step_x = 0, step_y = 0, glide_size_override = 0)
703706
if(alert_on_movement && !canmove)
704707
Retaliate()

0 commit comments

Comments
 (0)