mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-12 23:14:34 +01:00
fix chapter is locked
This commit is contained in:
@@ -92,11 +92,13 @@ namespace EpinelPS.LobbyServer.Stage
|
||||
{
|
||||
if (clearedStage.chapter_mod == "Hard")
|
||||
{
|
||||
user.LastHardStageCleared = StageId;
|
||||
if (StageId > user.LastHardStageCleared)
|
||||
user.LastHardStageCleared = StageId;
|
||||
}
|
||||
else if (clearedStage.chapter_mod == "Normal")
|
||||
{
|
||||
user.LastNormalStageCleared = StageId;
|
||||
if (StageId > user.LastNormalStageCleared)
|
||||
user.LastNormalStageCleared = StageId;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user