Fixed linting errors

This commit is contained in:
Cooldude2606
2021-04-29 23:03:14 +01:00
parent bb0bf13728
commit 27b4f8b853

View File

@@ -626,7 +626,7 @@ Tasks.on_update(
-- Update the task view elements if the player currently being looped over has this specific task selected -- Update the task view elements if the player currently being looped over has this specific task selected
local selected = PlayerSelected:get(player) local selected = PlayerSelected:get(player)
if selected == task_id then if selected == task_id then
if task then if curr_state then
update_task_view_footer(player, selected) update_task_view_footer(player, selected)
else else
PlayerSelected:set(player, nil) PlayerSelected:set(player, nil)