Skip to content

Commit 9d47b2a

Browse files
author
ChefZander
committed
bugfix with searching in qb
1 parent 4cb548c commit 9d47b2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/sbz_progression/questbook.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ local function get_questbook_formspec(selected_quest_index, player_name, quests_
9191
if not player_ref then return '' end
9292

9393
local selected_quest = quests_to_show[selected_quest_index]
94-
local quest_count = #quests_to_show -- we subtract uncompletable quests from this later, like infotexts
94+
local quest_count = #quests -- we subtract uncompletable quests from this later, like infotexts
9595
local completed_count = 0
9696
local available_count = 0
9797

0 commit comments

Comments
 (0)