Jump to content

willow lighter fueled check


Serpens
  • Fixed

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



User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...