누락된 데이터 재 커밋

This commit is contained in:
김민서 2024-04-01 17:56:32 +09:00
parent 9d26d5dc06
commit d753d3e2d0
1 changed files with 17 additions and 15 deletions

View File

@ -28,6 +28,8 @@ namespace Server.Service
} }
if (req.is_clear) if (req.is_clear)
{
if(story == null || story.chapter_data_id < req.chapter_id)
{ {
if (req.chapter_id == 1) if (req.chapter_id == 1)
{ {
@ -43,10 +45,10 @@ namespace Server.Service
chapter = story.chapter_data_id; chapter = story.chapter_data_id;
Statics.storyProgressSQL.Update(story); Statics.storyProgressSQL.Update(story);
} }
//보상 지급 추가할것. //보상 지급 추가할것.
} }
//클리어 성공 로그용, 기본보상 지급할것
}
else else
{ {
//클리어 실패 로그용 //클리어 실패 로그용