no message

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

No files matched your search

+2 -2
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++)
{