Skip to content

Commit

Permalink
Version bump to 1.6.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
algernon-A committed Jan 25, 2022
1 parent 73f96c1 commit a792684
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
5 changes: 4 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
- Convert translation framework to CSV (for CrowdIn)
Version 1.6.1

- Compatibility with game version 1.14.
- Convert translation framework to CSV (for CrowdIn)


Version 1.6.0.3 hotfix
Expand Down
2 changes: 1 addition & 1 deletion Code/Mod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LifecycleRebalanceMod : IUserMod
internal static string Version => BaseVersion + " " + Beta;
internal static string Beta => "";
internal static int BetaVersion => 0;
private static string BaseVersion => "1.6.0.3";
private static string BaseVersion => "1.6.1";



Expand Down
11 changes: 5 additions & 6 deletions Code/Patches/StartConnectionTransferImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ public static class StartConnectionTransferImplPatch
// Local variable ILCode indexes (original method).
const int educationVarIndex = 2;
const int numVarIndex = 3;
const int iLoopVarIndex = 16;
const int ageVarIndex = 20;
const int education2VarIndex = 21;
const int iLoopVarIndex = 17;
const int ageVarIndex = 21;
const int education2VarIndex = 22;

// Not used in patch - for determining patch location.
const int flag4VarIndex = 22;

const int flag4VarIndex = 23;

/// <summary>
/// StartConnectionTransferImpl transpiler.
Expand Down Expand Up @@ -90,7 +89,7 @@ public static IEnumerable<CodeInstruction> Transpiler(MethodBase original, IEnum
var startForLabels = instructionsEnumerator.Current.labels;

// Now we've got the location and added the local variable setup, skip forward until we find the location for the end of the patch.
// Looking for Stloc_S 22 (initialising bool flag4 = false).
// Looking for Stloc_S 23 (initialising bool flag4 = false).
do
{
instruction = instructionsEnumerator.Current;
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.6.0.3")]
[assembly: AssemblyFileVersion("1.6.0.3")]
[assembly: AssemblyVersion("1.6.1.0")]
[assembly: AssemblyFileVersion("1.6.1.0")]

0 comments on commit a792684

Please sign in to comment.