parent
04a6137a71
commit
98b6c4b001
@ -857,7 +857,7 @@ int luatpt_active_menu(lua_State* l)
|
|||||||
{
|
{
|
||||||
int menuid;
|
int menuid;
|
||||||
menuid = luaL_optint(l, 1, 0);
|
menuid = luaL_optint(l, 1, 0);
|
||||||
if (menuid < SC_TOTAL && menuid > 0 || menuid == 14)
|
if (menuid < SC_TOTAL && menuid > 0)
|
||||||
active_menu = menuid;
|
active_menu = menuid;
|
||||||
else
|
else
|
||||||
return luaL_error(l, "Invalid menu");
|
return luaL_error(l, "Invalid menu");
|
||||||
|
Loading…
Reference in New Issue
Block a user