Added comments

This commit is contained in:
Cooldude2606
2019-05-19 20:45:34 +01:00
parent d9b4410ad5
commit 64c318da98
2 changed files with 115 additions and 4 deletions

View File

@@ -153,8 +153,9 @@ function Slider._prototype:draw_label(element)
}
local categorise = self.categorise or Gui.player_store
local category = categorise(new_element)
Instances.unregistered_add_element(name,categorise,new_element)
Instances.unregistered_add_element(name,category,new_element)
return new_element
end