Skip to content

Commit

Permalink
Empty var runtime fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigó János committed Oct 1, 2023
1 parent 15a73af commit 3b3883c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_aliens/structures/egg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
return

user.animation_attack_on(src)
if(W.attack_verb.len)
if(W.attack_verb)
visible_message(SPAN_DANGER("\The [src] has been [pick(W.attack_verb)] with \the [W][(user ? " by [user]." : ".")]"))
else
visible_message(SPAN_DANGER("\The [src] has been attacked with \the [W][(user ? " by [user]." : ".")]"))
Expand Down

0 comments on commit 3b3883c

Please sign in to comment.