Skip to content

Commit

Permalink
Merge pull request #6529 from planetarium/fix/worldboss-practice-reward
Browse files Browse the repository at this point in the history
fix worldboss practice reward
  • Loading branch information
jonny-jeahyunchoi authored Dec 3, 2024
2 parents 2b0938a + 87d9483 commit ca7b5a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nekoyume/Assets/_Scripts/UI/Widget/Popup/WorldBossResultPopup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ public void Show(

public void ShowAsPractice(int bossId, long score)
{
foreach (var view in runeRewardViews)
{
view.gameObject.SetActive(false);
}

base.Show();
AudioController.instance.PlayMusic(AudioController.MusicCode.WorldBossBattleResult);
_practiceText.SetActive(true);
Expand All @@ -142,6 +137,11 @@ public void ShowAsPractice(int bossId, long score)
view.gameObject.SetActive(false);
}

foreach (var item in itemRewardViews)
{
item.Hide();
}

if (Game.Game.instance.TableSheets.WorldBossCharacterSheet.TryGetValue(bossId, out var row))
{
var grade = (WorldBossGrade)WorldBossHelper.CalculateRank(row, score);
Expand Down

0 comments on commit ca7b5a0

Please sign in to comment.