Skip to content
Snippets Groups Projects
Commit a16413f9 authored by rubenwardy's avatar rubenwardy Committed by paramat
Browse files

sfinv: Fix wrong tab being highlighted

Thank you to @ForbiddenJ for finding cause of the issue.
parent 6d67badc
Branches
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ function sfinv.get_formspec(player, context)
nav[#nav + 1] = pdef.title
nav_ids[#nav_ids + 1] = pdef.name
if pdef.name == context.page then
current_idx = i
current_idx = #nav_ids
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment