Jump to content

[B41.65] toggleStove is both a parameter (button) and a method of lua ISInventoryPage table


Tchernobill

Recommended Posts

see ISInventoryPage.lua line 97

self.toggleStove = ISButton:new(self.lootAll:getRight() + 16, 0, 50, lootButtonHeight, getText("ContextMenu_Turn_On"), self, ISInventoryPage.toggleStove);

 

it makes the access to the button / method dangerous.

I guess one of them should have its name changed.

Link to comment
Share on other sites

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...