Skip to content

Commit

Permalink
Fix for 2.0.4j
Browse files Browse the repository at this point in the history
  • Loading branch information
Vek17 committed Nov 15, 2022
1 parent d7b3188 commit be18595
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 0.5.5
* Fix for 2.0.4j

## Version 0.5.4
* Contains fix for broken IAfterRulebookEventTriggerHandler, and IBeforeRulebookEventTriggerHandler events

Expand Down
2 changes: 1 addition & 1 deletion Repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Releases": [
{
"Id": "TabletopTweaks-Core",
"Version": "0.5.4"
"Version": "0.5.5"
}
]
}
2 changes: 1 addition & 1 deletion TabletopTweaks-Core/Info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"Repository": "https://raw.githubusercontent.com/Vek17/TabletopTweaks-Core/master/Repository.json",
"Requirements": [],
"LoadAfter": ["MewsiferConsole.Mod"],
"Version": "0.5.4"
"Version": "0.5.5"
}
4 changes: 2 additions & 2 deletions TabletopTweaks-Core/NewUI/ActionBarPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static class ActionBarSlotVM_OnShowConvertRequest_Patch {
if (__instance.m_Conversion.Count == 0) {
return false;
}
__instance.ConvertedVm.Value = new ActionBarConvertedVM(__instance.m_Conversion.Select(abilityData => {
__instance.ConvertedVm.Value = new ActionBarConvertedVM(__instance.m_Conversion.m_AbilityData.Select(abilityData => {
var pseudoActivatable = abilityData.Blueprint.GetComponent<PseudoActivatable>();
if (pseudoActivatable != null) {
var slot = new MechanicActionBarSlotPseudoActivatableAbilityVariant {
Expand Down Expand Up @@ -112,7 +112,7 @@ static class ActionBarSlotVM_OnShowConvertRequest_Patch {
};
}
}).ToList(), new Action(__instance.CloseConvert));
}).ToList<MechanicActionBarSlot>(), new Action(__instance.CloseConvert));
return false;
}
}
Expand Down

0 comments on commit be18595

Please sign in to comment.