Fix academy nano missions not going into the 0th slot

This commit is contained in:
Gent S
2020-12-22 16:18:46 -05:00
parent 772f80188e
commit a1a5815f1f
3 changed files with 9 additions and 8 deletions

View File

@@ -684,7 +684,7 @@ void lairUnlockCommand(std::string full, std::vector<std::string>& args, CNSocke
}
INITSTRUCT(sP_FE2CL_REP_PC_TASK_START_SUCC, taskResp);
MissionManager::startTask(plr, taskID, false);
MissionManager::startTask(plr, taskID);
taskResp.iTaskNum = taskID;
taskResp.iRemainTime = 0;
sock->sendPacket((void*)&taskResp, P_FE2CL_REP_PC_TASK_START_SUCC, sizeof(sP_FE2CL_REP_PC_TASK_START_SUCC));