Re #2084: Lua model.getInput() now also returns switch
This commit is contained in:
@@ -722,6 +722,7 @@ static int luaModelGetInput(lua_State *L)
|
||||
lua_pushtableinteger(L, "source", expo->srcRaw);
|
||||
lua_pushtableinteger(L, "weight", expo->weight);
|
||||
lua_pushtableinteger(L, "offset", expo->offset);
|
||||
lua_pushtableinteger(L, "switch", expo->swtch);
|
||||
}
|
||||
else {
|
||||
lua_pushnil(L);
|
||||
|
||||
Reference in New Issue
Block a user