After placing walls , using mouse to hold other items cannot show the texture.
After placing walls , using mouse to hold other items cannot show the texture. Steps to Reproduce 1. Place the wall. 2. Swap other items to hold. 3. The texture was missing.
Report reply Tykvesh 720 Posted November 1, 2021 This seems to be caused by placer not unhiding the icon when being removed: function Placer:OnRemoveEntity() if self.builder ~= nil and self.hide_inv_icon then self.builder:PushEvent("onplacerhidden") end end It also makes sense to use self.hide_inv_icon only for invobject placers: function Placer:SetBuilder(builder, recipe, invobject) self.builder = builder self.recipe = recipe self.invobject = invobject self.hide_inv_icon = self.hide_inv_icon and invobject ~= nil self.inst:StartWallUpdatingComponent(self) end Share this comment Link to comment Share on other sites More sharing options...
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