Skip to content

Commit

Permalink
Merge pull request #448 from mash-up-kr/fix/mashong-levelup
Browse files Browse the repository at this point in the history
fix: 팝콘 먼저 뺀 후 레벨업하게 수정
  • Loading branch information
eunjungL authored Jul 6, 2024
2 parents b51b1ed + 1dc005d commit e92e816
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ public LevelUpResult levelUp(PlatformMashongLevel goalLevel) {
return LevelUpResult.FAIL;
}

level = goalLevel;
accumulatedPopcorn -= level.getGoalPopcorn();
level = goalLevel;

return LevelUpResult.SUCCESS;
}

Expand Down

0 comments on commit e92e816

Please sign in to comment.