Skip to content

Commit

Permalink
fixes a runtime in spiders.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdtalon committed Dec 3, 2023
1 parent c1c8de0 commit 192bdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/effects/spiders.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
return

/obj/effect/spider/attackby(obj/item/W, mob/user)
if(W.attack_verb.len)
if(LAZYLEN(W.attack_verb))
visible_message(SPAN_DANGER("<B>\The [src] have been [pick(W.attack_verb)] with \the [W][(user ? "by [user]." : ".")]"))
else
visible_message(SPAN_DANGER("<B>\The [src] have been attacked with \the [W][(user ? "by [user]." : ".")]"))
Expand Down

0 comments on commit 192bdca

Please sign in to comment.