<commit_before>﻿namespace ModComponentMapper
{
    public class GammaChanger
    {
        private static float gamma;

        public static float GetGamma()
        {
            return gamma;
        }

        public static void SetGamma(float gamma)
        {
            GammaChanger.gamma = gamma;
            GameManager.GetCameraEffects().m_ColorGrading.m_Gamma = gamma;
        }

        public static void ResetGamma()
        {
            SetGamma(GameManager.GetCameraEffects().m_ColorGrading.GetDefaultGamma());
        }
    }
}<commit_msg>added missing initialization for the gamma value<commit_after>﻿namespace ModComponentMapper
{
    public class GammaChanger
    {
        private static float gamma = 1;

        public static float GetGamma()
        {
            return gamma;
        }

        public static void SetGamma(float gamma)
        {
            GammaChanger.gamma = gamma;
            GameManager.GetCameraEffects().m_ColorGrading.m_Gamma = gamma;
        }

        public static void ResetGamma()
        {
            SetGamma(GameManager.GetCameraEffects().m_ColorGrading.GetDefaultGamma());
        }
    }
}
{'fraction_non_alphanumeric': 0.07372072853425846, 'fraction_numerical': 0.0008673026886383347, 'mean_word_length': 1.9665809768637532, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1197878', 'n_tokens_mistral': 311, 'n_tokens_neox': 287, 'n_words': 65}