ID:139913
 
Code:
N/A


Problem description:

I have 3 menus in my skin;

duel_m
main_m
edit_m

main_m is set as the default to be shown on the skin, where as the other two are only shown by code in game when needed.

When the game is first opened however im getting;

winset: Element duel_m.world not found.

This is because it sets a number of 'is-checked=true' on mob/login() using winset. Some menu items in 'duel_m' are replicated from 'main_m' you see (chat related ones) and so need to be consistant in their appearance. So it sets the same items to look the same in both menus. E.g.

        winset(src, "main_m.world", "is-checked=true")
winset(src, "duel_m.world", "is-checked=true")


This winset error persists until the menu is used on the skin, then error goes away and the winset works. Even when the menu is not being shown there after.

Is this a bug or am i doing something wrong im not aware of.... it still exists even if its not being shown so i dont get it :\
Unlike windows and panes, menus and macros aren't necessarily created until they're needed.
In response to Lummox JR
I see, so id have to set them somewhere. Like say in a blank window thats not shown?