diff --git a/plugins/include/topmenus.inc b/plugins/include/topmenus.inc index 817dec51..24fd9291 100644 --- a/plugins/include/topmenus.inc +++ b/plugins/include/topmenus.inc @@ -128,7 +128,7 @@ enum TopMenuObject: * @noreturn */ typedef TopMenuHandler = function void ( - Handle topmenu, + TopMenu topmenu, TopMenuAction action, TopMenuObject topobj_id, int param, @@ -406,7 +406,7 @@ native void SetTopMenuTitleCaching(Handle topmenu, bool cache_titles); /** * Do not edit below this line! */ -public Extension:__ext_topmenus = +public Extension __ext_topmenus = { name = "TopMenus", file = "topmenus.ext",