Merged the IsClientInGame check into the previous if. This won't be updated in the 3.1.3 release as it's just a slight optimization.