Loop not running when only one entry
In the image you can see the code that I am using for my loop and the data that it is working with in game. When there are 2 players online this works fine looping through the two player entries in the array. When on2 play leaves the loop will run correctly through the first entry and then won't work for the last entry in the loop.
I used this tutorial, https://www.youtube.com/watch?v=6_TYoW-DWuE, looing backwards to create the loop. I am not sure why this is not working correctly. Any help would be appreciated.