Fixed setplayerstate.