mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Fix duplicate tasks on instanced mission failure
This commit is contained in:
parent
a1a5815f1f
commit
ae75324153
@ -601,7 +601,7 @@ void MissionManager::failInstancedMissions(CNSocket* sock) {
|
|||||||
int failTaskID = task->task["m_iFOutgoingTask"];
|
int failTaskID = task->task["m_iFOutgoingTask"];
|
||||||
if (failTaskID != 0) {
|
if (failTaskID != 0) {
|
||||||
MissionManager::quitTask(sock, taskNum, false);
|
MissionManager::quitTask(sock, taskNum, false);
|
||||||
plr->tasks[i] = failTaskID;
|
//plr->tasks[i] = failTaskID; // this causes the client to freak out and send a dupe task
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user