If an equippable item is set as impossible to unequip with SetPreventUnequipping, it will not be reversible as the replica _preventunequipping is maintained as true :
local function onpreventunequipping(self, equipslot) self.inst.replica.equippable:SetPreventUnequipping(true) end
Steps to Reproduce
Take any equipment,
c_sel().components.equippable:SetPreventUnequipping(true), can't be unequipped,
c_sel().components.equippable:SetPreventUnequipping(false), still can't be unequipped.
- 1
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