summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorme4502 <mnmiller1@hotmail.com>2011-08-04 04:09:24 (GMT)
committer me4502 <mnmiller1@hotmail.com>2011-08-04 04:09:24 (GMT)
commit6c8d62389cccf1c17143d4cffb70bfb060bfda88 (patch)
tree12cae3df7b4d5e41846e265ed6b57c3c763ed778 /src
parentac2912f2d236204ab82613f29bc17579bf57bf66 (diff)
downloadpowder-6c8d62389cccf1c17143d4cffb70bfb060bfda88.zip
powder-6c8d62389cccf1c17143d4cffb70bfb060bfda88.tar.gz
allowed secret menu via lua
Diffstat (limited to 'src')
-rw-r--r--src/luaconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaconsole.c b/src/luaconsole.c
index 6e4df7c..d61ddfd 100644
--- a/src/luaconsole.c
+++ b/src/luaconsole.c
@@ -857,7 +857,7 @@ int luatpt_active_menu(lua_State* l)
{
int menuid;
menuid = luaL_optint(l, 1, 0);
- if (menuid < SC_TOTAL && menuid > 0)
+ if (menuid < SC_TOTAL && menuid > 0 || menuid == 14)
active_menu = menuid;
else
return luaL_error(l, "Invalid menu");