We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2258e4 commit 8c596a8Copy full SHA for 8c596a8
frontend/src/stores/progress.js
@@ -77,13 +77,11 @@ export const useProgressStore = defineStore('progress', {
77
this.error = null;
78
},
79
80
- // [수정일: 2026-02-27] 현재 노드 + 다음 노드 해금을 통합하는 편의 액션
81
- // gameStore.unlockNextStage()의 "현재+다음" 해금 로직을 progressStore로 이전
+ // [수정일: 2026-02-27] 다음 노드 해금 편의 액션
+ // gameStore.unlockNextStage()의 해금 로직을 progressStore로 이전
82
async unlockNextStage(practiceId, nodeIndex) {
83
if (!practiceId) return;
84
- // 현재 노드 해금
85
- await this.unlockNode(practiceId, nodeIndex);
86
- // 다음 노드 해금
+ // 다음 노드 해금 (현재 노드는 이미 해금 상태)
87
await this.unlockNode(practiceId, nodeIndex + 1);
88
89
0 commit comments