Quote:
Originally Posted by nergal
Not sure if this is an issue with menus but I made a forward with only one parameter which is a pass-by-reference Menu handle.
I made the forward just like every other forward but for some reason, it's not firing nor modifying the Menu handle.
Here's the typeset for it => "function void (Menu& menu);"
EDIT: I even retested the forward by passing the Menu handle by copy instead of reference but still no firing.
I tested this by having the menu add an additional item then printing a message to all available clients by console.
|
Handles are already pass-by-reference, though. You shouldn't need the &, right?