20.04.2012, 14:40
It does, but "IsPlayerConnected" still has it's place in loops when you don't use "foreach". In this case you only have a single function inside the loop, so there's no gain, but if you had many functions inside the loop then you might want to wrap them all in a check so they aren't all half executed.