Re #2084: Lua model.getInput() now also returns switch

This commit is contained in:
Damjan Adamic
2015-02-18 20:25:27 +01:00
parent ab3114d164
commit b0277ed057
+1
View File
@@ -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);