Fix duplicate tasks on instanced mission failure

This commit is contained in:
Gent S 2020-12-22 16:47:49 -05:00
parent a1a5815f1f
commit ae75324153

View File

@ -601,7 +601,7 @@ void MissionManager::failInstancedMissions(CNSocket* sock) {
int failTaskID = task->task["m_iFOutgoingTask"];
if (failTaskID != 0) {
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
}
}
}