no message

This commit is contained in:
BADIM-PC\Vadim
2017-12-29 15:44:42 +03:00
parent acbacb574e
commit c3a57954aa
4 changed files with 154 additions and 155 deletions

View File

@@ -794,9 +794,9 @@ static s32 lua_key(lua_State* lua)
if (top == 1)
{
u8 index = getLuaNumber(lua, 1);
u8 index = getLuaNumber(lua, 1)+1;
if(index != 0xff)
if(index > tic_key_unknown)
{
for(s32 i = 0; i < COUNT_OF(input->keyboard.keys); i++)
{