17.05.2016, 15:08
Your logic is wrong. It can't be fixed. You should try a new idea.
An easy solution would be to send a warning to whoever is spectating that he has reached one end. If you really want to have a circular system then you'll need to change your algorithm.
An easy solution would be to send a warning to whoever is spectating that he has reached one end. If you really want to have a circular system then you'll need to change your algorithm.