From b468134432f1e548a8764d6f5a375f77e269b67d Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Sat, 27 Aug 2022 16:05:47 +0200 Subject: [PATCH] #PLAYERTASK * Remove filtering for task state preventing further players to join --- Moose Development/Moose/Ops/PlayerTask.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Moose Development/Moose/Ops/PlayerTask.lua b/Moose Development/Moose/Ops/PlayerTask.lua index 68b735270..6c8878803 100644 --- a/Moose Development/Moose/Ops/PlayerTask.lua +++ b/Moose Development/Moose/Ops/PlayerTask.lua @@ -1108,7 +1108,7 @@ PLAYERTASKCONTROLLER.Messages = { --- PLAYERTASK class version. -- @field #string version -PLAYERTASKCONTROLLER.version="0.1.24" +PLAYERTASKCONTROLLER.version="0.1.25" --- Constructor -- @param #PLAYERTASKCONTROLLER self @@ -2290,11 +2290,11 @@ function PLAYERTASKCONTROLLER:_BuildMenus(Client) text = string.format("%s (%03d) [%d%s",name,_task.PlayerTaskNr,pilotcount,newtext) end end - if _task:GetState() == "Planned" or (not _task:HasPlayerName(playername)) then - local taskentry = MENU_GROUP_COMMAND:New(group,text,ttypes[_tasktype],self._JoinTask,self,group,client,_task) - taskentry:SetTag(playername) - taskmenu[#taskmenu+1] = taskentry - end + --if _task:GetState() == "Planned" or (not _task:HasPlayerName(playername)) then + local taskentry = MENU_GROUP_COMMAND:New(group,text,ttypes[_tasktype],self._JoinTask,self,group,client,_task) + taskentry:SetTag(playername) + taskmenu[#taskmenu+1] = taskentry + --end end end else