Correctly set task value for shooting gallery

This commit is contained in:
EmosewaMC
2022-02-10 03:08:47 -08:00
parent a60738f78f
commit 2bc9f8f66d
2 changed files with 9 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ void Mission::LoadFromXml(tinyxml2::XMLElement* element) {
} else {
const auto value = std::stoul(task->Attribute("v"));
m_Tasks[index]->SetProgress(value, m_Tasks[index]->GetType() == MissionTaskType::MISSION_TASK_TYPE_MINIGAME);
m_Tasks[index]->SetProgress(value, false);
task = task->NextSiblingElement();
}