Changed player so that its state updates on movement