From 1dc005d5ef48197d0ddaa776ac40ee54a7dcbc46 Mon Sep 17 00:00:00 2001 From: eunjungL Date: Sat, 6 Jul 2024 18:19:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8C=9D=EC=BD=98=20=EB=A8=BC=EC=A0=80?= =?UTF-8?q?=20=EB=BA=80=20=ED=9B=84=20=EB=A0=88=EB=B2=A8=EC=97=85=ED=95=98?= =?UTF-8?q?=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/mashup/branding/domain/mashong/PlatformMashong.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mashup-domain/src/main/java/kr/mashup/branding/domain/mashong/PlatformMashong.java b/mashup-domain/src/main/java/kr/mashup/branding/domain/mashong/PlatformMashong.java index 9274a6a9..44f5cfd3 100644 --- a/mashup-domain/src/main/java/kr/mashup/branding/domain/mashong/PlatformMashong.java +++ b/mashup-domain/src/main/java/kr/mashup/branding/domain/mashong/PlatformMashong.java @@ -46,8 +46,9 @@ public LevelUpResult levelUp(PlatformMashongLevel goalLevel) { return LevelUpResult.FAIL; } - level = goalLevel; accumulatedPopcorn -= level.getGoalPopcorn(); + level = goalLevel; + return LevelUpResult.SUCCESS; }