1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 14:55:13 +03:00

Return nil if value not found in luaGetValue()

This commit is contained in:
Damjan Adamic 2014-04-21 20:17:30 +02:00
parent 36409c37f4
commit 3815ab8c45

View file

@ -131,7 +131,7 @@ static int luaGetValue(lua_State *L)
return 1;
}
}
lua_pushnil(L);
return 0;
}