fix lab missions completion

This commit is contained in:
Spirtix 2023-07-11 18:04:13 +02:00
parent 379b731f61
commit 8416b47fa8

View File

@ -114,7 +114,7 @@ public class MissionService {
ctx.TaskStatuses.Add(status);
} else {
status.Payload = xmlPayload;
status.Completed = completed;
if (!status.Completed) status.Completed = completed; // NOTE: Lab missions update the payload after the task is marked as completed with the completed flag set to false. The official servers ignore this flag when it's already been set to true
}
ctx.SaveChanges();
}