forked from ShadowTheAge/yafc
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of disabled recipes (#130)
Always show empty boxes for both the ingredients and products of disabled recipes. That is, they'll always look like this: ![image](https://github.com/have-fun-was-taken/yafc-ce/assets/21223975/d60eeefa-f56d-4d9c-afc7-7dcd8759f784) I also discovered the code that cleans up old links removes links if the item/fluid does not appear in any _enabled_ recipes. I wanted the links to stay put when disabling and enabling recipes, and I couldn't concentrate on #122 with that behavior, so I changed the code to consider all recipes. If that change (f28d35f) should be discussed more, I can remove it from this PR.
- Loading branch information
Showing
3 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters