Changed how player input is processed