omubtcezq / C6Redux

GNU General Public License v3.0
0 stars 0 forks source link

Failed custom condition recipe generation when multiple factors in condition are not in database #9

Closed omubtcezq closed 4 days ago

omubtcezq commented 5 days ago

Since recipe code stores potential stocks for each factor by factor id, non-committed factors such as new ones from a custom condition will have factor id None. This works fine if there is only one such factor, but if there is two, they will map to the same factor and one will be lost when creating the recipe.