The bait component's OnRemoveFromEntity function calls for inst, but it calls it as inst instead of self.inst.
I've fixed this bug in this workshop mod: http://steamcommunity.com/sharedfiles/filedetails/?id=750559450
When installed any mods that crash due to this issue work again without modification, though having this fixed properly without another mod would be ideal.
Steps to Reproduce
Get an item that has the bait component and remove that component. The Deep-Freezer mod is a great test case for this. Spawn a freezer and try to put meat inside and close the freezer.
Get an item that has the bait component and remove that component. The Deep-Freezer mod is a great test case for this. Spawn a freezer and try to put meat inside and close the freezer.
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