Updated player.py.