Fix inconsistent craft replacements (#9250) (#12819)

This commit is contained in:
Wuzzy 2022-09-30 12:30:39 +02:00 committed by GitHub
parent 5e7ea0664a
commit 6eb7d57ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -229,6 +229,7 @@ static void craftDecrementOrReplaceInput(CraftInput &input,
rep.deSerialize(j->second, gamedef->idef());
item.remove(1);
found_replacement = true;
pairs.erase(j);
output_replacements.push_back(rep);
break;