Esempio n. 1
0
 static Initialization()
 {
     HPatcher.Init();
     ClassInjector.Init();
     PrisonLaborPrefs.Init();
     SettingsMenu.Init();
     VersionUtility.CheckVersion();
     Designator_AreaLabor.Initialization();
     Behaviour_MotivationIcon.Initialization();
     CompatibilityPatches.Initialization.Run();
     HediffManager.Init();
 }
Esempio n. 2
0
        static Initialization()
        {
            try
            {
                PrisonLaborPrefs.Init();
                HPatcher.Init();
                SettingsMenu.Init();
                VersionUtility.CheckVersion();
                CompatibilityPatches.Initialization.Run();
                HediffManager.Init();

                Log.Message($"Enabled Prison Labor v{VersionUtility.versionString}");
            }
            catch (Exception e)
            {
                Log.Error($"Prison Labor v{VersionUtility.versionString} caught error during start up:\n{e}");
            }
        }
 static Initialization()
 {
     HPatcher.Init();
 }