Unreliable team infection fix

There was an issue with a getRandom function