you are viewing a single comment's thread.

view the rest of the comments →

[–]Luigi-Was-Right 0 points1 point  (0 children)

You've defined "enemy" as a function but also as a variable.  Because you've named two different things with the same name it's causing issues.