Skip to content

Commit

Permalink
Update to 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
godarklight committed Jun 24, 2021
1 parent acf80fd commit d1e14b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Client/Utilities/CompatibilityChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ internal class CompatibilityChecker : MonoBehaviour
public static bool IsCompatible()
{
const int compatibleMajor = 1;
const int compatibleMinor = 11;
const int compatibleMinor = 12;
//const int compatibleRevision = 2;
return (Versioning.version_major == compatibleMajor) && (Versioning.version_minor == compatibleMinor);

Expand All @@ -64,7 +64,7 @@ public static bool IsUnityCompatible()
| BEGIN IMPLEMENTATION-SPECIFIC EDITS HERE. |
\*-----------------------------------------------*/

return Application.unityVersion == "2019.2.2f1";
return Application.unityVersion == "2019.4.18f1";

/*-----------------------------------------------*\
| IMPLEMENTERS SHOULD NOT EDIT BEYOND THIS POINT! |
Expand Down
13 changes: 12 additions & 1 deletion Common/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Common
//Program version. This is written in the build scripts.
public const string PROGRAM_VERSION = "Custom";
//Mod control version - The last version to add parts
public const string MODCONTROL_VERSION = "1.11.1";
public const string MODCONTROL_VERSION = "1.12";
//Compression threshold
public const int COMPRESSION_THRESHOLD = 4096;

Expand Down Expand Up @@ -625,6 +625,17 @@ public static List<string> GetStockParts()
// 1.11.1 parts
"spotLight1.v2",
"spotLight2.v2",
// 1.12 parts
"kerbalEVASlimSuit",
"kerbalEVASlimSuitFemale",
"rocketNoseCone.v3",
"groundAnchor",
"solarPanelOX10C",
"solarPanelSP10C",
"solarPanelOX10L",
"solarPanelSP10L",
"fireworksLauncherBig",
"fireworksLauncherSmall"
};
return stockPartList;
//MAKE SURE TO CHANGE Common.MODCONTROL_VERSION
Expand Down

1 comment on commit d1e14b5

@lejshi3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outstanding update, good work

Please sign in to comment.