So I was working on some collapsible categories… when all of the sudden I get this random ass category in the top-left of my screen
Clicking it brings this error in console…
[ERROR] lua/vgui/dcategorycollapse.lua:208: attempt to index a nil value 1. Toggle - lua/vgui/dcategorycollapse.lua:208 2. DoClick - lua/vgui/dcategorycollapse.lua:25 3. unknown - lua/vgui/dlabel.lua:206
I attempted to look it up to see what the issue was, seeing as it had nothing to do with my lua file at all, and only received this piece of code.
I seriously have no idea what the fuck happened. It didn’t appear to be there while I wrote my first 2 categories, but when I added a third I started seeing it. Ended up removing the category to see if it was the issue, but apparently it wasn’t.
Here is the snippet of code to where I started working on the categories.
**SNIP Problem was duplicated a category by accident**
Anyone have any Idea’s as to what is causing it?
Thanks for your time
*Also, Sorry about how messy it is… For some reason copying from Notepad++ Fucks up my code when I paste it