Skip to content

Commit 8c596a8

Browse files
committed
수도코드 불필요한 현재 해금 로직 제거
수도코드 불필요한 현재 해금 로직 제거
1 parent f2258e4 commit 8c596a8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

frontend/src/stores/progress.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,11 @@ export const useProgressStore = defineStore('progress', {
7777
this.error = null;
7878
},
7979

80-
// [수정일: 2026-02-27] 현재 노드 + 다음 노드 해금을 통합하는 편의 액션
81-
// gameStore.unlockNextStage()의 "현재+다음" 해금 로직을 progressStore로 이전
80+
// [수정일: 2026-02-27] 다음 노드 해금 편의 액션
81+
// gameStore.unlockNextStage()의 해금 로직을 progressStore로 이전
8282
async unlockNextStage(practiceId, nodeIndex) {
8383
if (!practiceId) return;
84-
// 현재 노드 해금
85-
await this.unlockNode(practiceId, nodeIndex);
86-
// 다음 노드 해금
84+
// 다음 노드 해금 (현재 노드는 이미 해금 상태)
8785
await this.unlockNode(practiceId, nodeIndex + 1);
8886
},
8987

0 commit comments

Comments
 (0)