Commit 0e359545 authored by ElderLich's avatar ElderLich

Bug Fix: Duel Result Animation Starts After Result Text

At duel end, the Win/Lose/Surrender text appears first and the lose/win field animation starts afterward. Expected behavior is the opposite: start the end animation immediately when LP reaches 0 (or duel ends), then show the result text while that animation is still playing.
parent 6dd15057
......@@ -656,13 +656,13 @@ namespace MDPro3.Duel
MessageManager.Cast(InterString.Get("请联系开发者修复这张特殊胜利的卡。"));
}
// Start win/lose field animation first, then show result text while it is ongoing.
duelBGManager.ShowBGEnd(duelResult);
await duelBGManager.ShowDuelResultText(duelText);
MessageManager.Cast(endingReason);
if (condition != Condition.Replay)
Core.GetUI<OcgCoreUI>().ShowSaveReplay();
duelBGManager.ShowBGEnd(duelResult);
}
protected override UniTask GameMessage_UpdateData(BinaryReader reader)
......@@ -3337,4 +3337,4 @@ namespace MDPro3.Duel
#endregion
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment