Got `variable 'type' is not declared` after removing itemweigher component from entity
Caused by missing self on components/itemweigher.lua L.23
function ItemWeigher:OnRemoveFromEntity() type = nil -- to remove the tag end
function ItemWeigher:OnRemoveFromEntity() self.type = nil -- to remove the tag end
Steps to Reproduce
Remove itemweigher component from a entity
There are no comments to display.
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