Skip to content

Commit

Permalink
fix worldboss practice reward
Browse files Browse the repository at this point in the history
  • Loading branch information
jonny-jeahyunchoi committed Nov 29, 2024
1 parent 5abdae8 commit 87d9483
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 87d9483

Please sign in to comment.