diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-04 15:38:07 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-04 15:38:07 (GMT) |
| commit | 98b6c4b0016c4116834bd023e45b2ef0f447218a (patch) | |
| tree | b8a6ecb9cfb6989c96d3ae7fe85da6980779c3c6 /src | |
| parent | 04a6137a718e55293c3f2acdeba33ae7c1d91efb (diff) | |
| download | powder-98b6c4b0016c4116834bd023e45b2ef0f447218a.zip powder-98b6c4b0016c4116834bd023e45b2ef0f447218a.tar.gz | |
Revert "allowed secret menu via lua"
This reverts commit 6c8d62389cccf1c17143d4cffb70bfb060bfda88.
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 d61ddfd..6e4df7c 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 || menuid == 14) + if (menuid < SC_TOTAL && menuid > 0) active_menu = menuid; else return luaL_error(l, "Invalid menu"); |
