Skip to content

Commit

Permalink
Fix runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaers committed Jun 14, 2015
1 parent 56d0586 commit ae1ecfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/simple_animal/simple_animal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
damage = O.force
if (O.damtype == STAMINA)
damage = 0
if(O.attack_verb)
if(O.attack_verb && islist(O.attack_verb))
visible_message("<span class='danger'>[user] has [O.attack_verb.len ? "[pick(O.attack_verb)]": "attacked"] [src] with [O]!</span>",\
"<span class='userdanger'>[user] has [O.attack_verb.len ? "[pick(O.attack_verb)]": "attacked"] you with [O]!</span>")
else
Expand Down

0 comments on commit ae1ecfd

Please sign in to comment.