Skip to content

Commit

Permalink
fix heat sinking with forced turn end
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkroeg committed Jul 20, 2021
1 parent 5826fcb commit 03a41b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion IRTweaks/IRTweaks/Modules/Combat/AbilityResourceFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ public static void Postfix(CombatHUDActionButton __instance, string creatorGUID,
if (selectedActor is Mech mech)
{
mech.GenerateAndPublishHeatSequence(-1, true, false, selectedActor.GUID);
Mod.Log.Info?.Write($"Generated and Published Heat Sequence for {mech.Description.UIName}.");
}
selectedActor.OnActivationEnd(selectedActor.GUID, (__instance).GetInstanceID());

selectedActor.DoneWithActor();//need to to onactivationend too
selectedActor.OnActivationEnd(selectedActor.GUID, __instance.GetInstanceID());
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions IRTweaks/IRTweaks/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.9.3.02")]
[assembly: AssemblyFileVersion("0.9.3.02")]
[assembly: AssemblyVersion("0.9.3.03")]
[assembly: AssemblyFileVersion("0.9.3.03")]

0 comments on commit 03a41b4

Please sign in to comment.