File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -772,12 +772,13 @@ function TradeQueryGeneratorClass:ExecuteQuery()
772772 if self .calcContext .options .includeScourge then
773773 self :GenerateModWeights (self .modData [" Scourge" ])
774774 end
775- if self .calcContext .options .includeEldritch :find (" ^Keep" ) and
775+ local eldritchOption = self .calcContext .options .includeEldritch
776+ if eldritchOption and eldritchOption :find (" ^Keep" ) and
776777 -- skip weights if we need an influenced item as they can produce really
777778 -- bad results due to the filter limit
778779 self .calcContext .options .influence1 == 1 and
779780 self .calcContext .options .influence2 == 1 then
780- local omitConditional = self . calcContext . options . includeEldritch == " Keep regular"
781+ local omitConditional = eldritchOption == " Keep regular"
781782 local eaterMods = self .modData [" Eater" ]
782783 local exarchMods = self .modData [" Exarch" ]
783784 if omitConditional then
You can’t perform that action at this time.
0 commit comments