mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#PT
This commit is contained in:
parent
63770fdf79
commit
e8ad649770
@ -3517,17 +3517,6 @@ function PLAYERTASKCONTROLLER:_UpdateJoinMenuTemplate()
|
|||||||
entrynumbers[_type] = 0
|
entrynumbers[_type] = 0
|
||||||
existingentries[_type] = {}
|
existingentries[_type] = {}
|
||||||
else
|
else
|
||||||
entrynumbers[_type] = #found.Children
|
|
||||||
if #taskpertype[_type] > 0 and entrynumbers[_type] < maxn then
|
|
||||||
existingentries[_type] = {}
|
|
||||||
for _,_entry in pairs(found.Children) do
|
|
||||||
local entry = _entry -- Core.ClientMenu#CLIENTMENU
|
|
||||||
table.insert(existingentries[_type],_entry.name)
|
|
||||||
end
|
|
||||||
if self.verbose then
|
|
||||||
UTILS.PrintTableToLog(existingentries)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user