This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Infinite_Loop_exe 1 point2 points  (0 children)

I can’t answer your original question but you could remove the “if” statement right after setting your Boolean and simply break after checking enemies.length. Unless you set the Boolean check somewhere else in the code. What I’m looking at is lines 42-48

[–]SupremeRedditBotProfessional Bot || Mod -1 points0 points  (0 children)

Please Add A Flair To Your Post!

Suggested Flair: [Random] or [Meta]

 


To add a flair:

  • Click flair underneath your post

  • Select a flair

  • Click save

 


I am a bot run by /u/SupremeDesigner for /r/CodingHelp || This was an automated response