Factorio-Stdlib icon indicating copy to clipboard operation
Factorio-Stdlib copied to clipboard

Added remove_ingredient to add_ingredient

Open Mernom opened this issue 4 years ago • 0 comments

When adding ingredients, it WILL crash the game if duplicate entries exist, under most circumstances. The quick and dirty fix is to remove it before adding it, a more complicated check would involve looking for it and updating an existing entry instead.

I just added the remove_ingredient so that the function is at least usable.

Mernom avatar Apr 18 '21 11:04 Mernom