Ejemplo 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();
 }
Ejemplo 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}");
            }
        }