saricden/no-place-like

Handle undefined elements in enemy arrays

Closed this issue · 1 comments

Right now when we use the destroy() function on enemy sprites, there remains an undefined element in the enemies array, which errors when we try to check for hit tests, etc. etc.

Bandaid solution in place.