1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-22 07:45:14 +03:00
This commit is contained in:
bsongis 2014-04-20 09:30:22 +02:00
parent 2eed4ea8e2
commit c4eb1182df

View file

@ -637,9 +637,9 @@ static int luaModelGetOutput(lua_State *L)
lua_pushtableboolean(L, "symetrical", limit->symetrical);
lua_pushtableboolean(L, "revert", limit->revert);
if (limit->curve)
lua_pushtablenil(L, "curve");
else
lua_pushtablenumber(L, "curve", limit->curve-1);
else
lua_pushtablenil(L, "curve");
}
else {
lua_pushnil(L);