Fixed tasklist bug

This commit is contained in:
Cooldude2606
2020-04-07 17:38:54 +01:00
parent 44a09d0991
commit 9214cc5239
4 changed files with 12 additions and 6 deletions

View File

@@ -341,7 +341,7 @@ Gui.element(function(event_trigger,parent)
-- Add any existing tasks
local task_ids = Tasks.get_force_task_ids(player.force.name)
if #task_ids > 0 then
no_tasks_style.visible = false
no_tasks_label.visible = false
for _,task_id in ipairs(task_ids) do
update_task(player,scroll_table,task_id)
end