Hi,
could you add in the oncook function in the lighter.lua a check if inst.component.fueled is nil, before trying to call DoDelta?
You made this check onisraining, but not in oncooked.
The reason for this would be a simple mod to make lighter last unlimited by simply removing the fueled component. But also without such a mod, it would just be consequent to have this check in both mentioned functions.
Steps to Reproduce
make mod that removes the fueled component and then try to cook something with lighter -> crash
make mod that removes the fueled component and then try to cook something with lighter -> crash
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now