Fixed a variable assignment in Player and commented unused code