Handle empty obstacle array
Closed this issue · 0 comments
ryanflach commented
Currently, if an obstacle is knocked off of the screen and no other obstacles are being drawn, no future obstacles will be drawn due to the array being empty (and current logic drawing based on the items in that array).