Bugfix for RecipeCount
Wobin [05-10-14 - 06:21]
diff --git a/Common.lua b/Common.lua
index 0ffb15a..cf1063e 100644
--- a/Common.lua
+++ b/Common.lua
@@ -128,7 +128,7 @@ function SousChef.AddDetails(row)
line = "* ".. line
end
if SousChef.settings.showCounts then
- local bookmark = SousChef.settings.CookbookIndex[v]
+ local bookmark = SousChef.CookbookIndex[v]
if bookmark then
local count = CalculateHowManyCouldBeCreated(bookmark.listIndex, bookmark.recipeIndex, bookmark.numIngredients)
if count > 0 then