mirror of
https://github.com/opentx/opentx.git
synced 2025-07-22 07:45:14 +03:00
Fixes #998
This commit is contained in:
parent
2eed4ea8e2
commit
c4eb1182df
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue