Skip to content
Permalink
Browse files

sfinv: Fix wrong tab being highlighted

Thank you to @ForbiddenJ for finding cause of the issue.
  • Loading branch information...
rubenwardy authored and paramat committed Mar 5, 2017
1 parent 6d67bad commit a16413f96c8db7d085591aafa431a8622a6e8324
Showing with 1 addition and 1 deletion.
  1. +1 −1 mods/sfinv/api.lua
@@ -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 comments on commit a16413f

Please sign in to comment.
You can’t perform that action at this time.