Simplified updatePlayerVariables