Skip to content

Commit

Permalink
Remove WaitForCompletion from ChosenDefeatedEscape_BuildVisualization
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDog86 committed Jul 27, 2023
1 parent dd5d887 commit 9d20be9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,11 @@ simulated function ChosenDefeatedEscape_BuildVisualization(XComGameState Visuali
EffectAction = X2Action_PlayEffect(class'X2Action_PlayEffect'.static.AddToVisualizationTree(ActionMetadata, Context, false, PlayAnimation));
EffectAction.EffectName = "FX_Chosen_Teleport.P_Chosen_Teleport_Out_w_Sound";
EffectAction.EffectLocation = ActionMetadata.VisualizeActor.Location;
EffectAction.bWaitForCompletion = true;

// Start Issue #496
/// HL-Docs: ref:Bugfixes; issue:496
/// Commenting out `EffectAction.bWaitForCompletion = true` on the line below allows the chosen death teleport to visualise properly with no redscreens
// EffectAction.bWaitForCompletion = true;

DelayAction = X2Action_Delay(class'X2Action_Delay'.static.AddToVisualizationTree(ActionMetadata, Context, false, PlayAnimation));
DelayAction.Duration = 0.25;
Expand Down
3 changes: 3 additions & 0 deletions X2WOTCCommunityHighlander/X2WOTCCommunityHighlander.x2proj
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,9 @@
<Content Include="Src\XComGame\Classes\UIUtilities_Colors.uc">
<SubType>Content</SubType>
</Content>
<Content Include="Src\XComGame\Classes\X2Ability_Chosen.uc">
<SubType>Content</SubType>
</Content>
<Content Include="Src\XComGame\Classes\X2Ability_ReaperAbilitySet.uc">
<SubType>Content</SubType>
</Content>
Expand Down

0 comments on commit 9d20be9

Please sign in to comment.