Quote:
Originally Posted by Drixevel
Three things:
- If you're gonna recreate the wheel by copying tf2attributes code into the plugin for use, at least have the plugin use the same gamedata file.
- Your leaking handles with your menus, you need to kill the menu handles in the callbacks with MenuAction_End.
- You can methodmap a whole lot of this and create the menus early and save them for use multiple times as well.
|
Thanks! I fixed the leaks and made it use the same gamedata file then. I'm not that familiar with methodmapping yet so I'll do that once I'm more experienced with it.