diff options
| author | savask <savask@yandex.ru> | 2011-08-04 12:48:20 (GMT) |
|---|---|---|
| committer | savask <savask@yandex.ru> | 2011-08-04 12:48:20 (GMT) |
| commit | 04a6137a718e55293c3f2acdeba33ae7c1d91efb (patch) | |
| tree | 12cae3df7b4d5e41846e265ed6b57c3c763ed778 /src | |
| parent | ac2912f2d236204ab82613f29bc17579bf57bf66 (diff) | |
| parent | 6c8d62389cccf1c17143d4cffb70bfb060bfda88 (diff) | |
| download | powder-04a6137a718e55293c3f2acdeba33ae7c1d91efb.zip powder-04a6137a718e55293c3f2acdeba33ae7c1d91efb.tar.gz | |
Merge pull request #35 from me4502/patch-1
allowed secret menu via lua
Diffstat (limited to 'src')
| -rw-r--r-- | src/luaconsole.c | 2 |
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"); |
