add ExportOnChange table value for Lua
fixes workout goal amounts not applied correctly
This commit is contained in:
@@ -551,6 +551,12 @@ public:
|
|||||||
lua_pop( LUA->L, 1 );
|
lua_pop( LUA->L, 1 );
|
||||||
|
|
||||||
|
|
||||||
|
lua_pushstring( LUA->L, "ExportOnChange" );
|
||||||
|
lua_gettable( LUA->L, -2 );
|
||||||
|
defOut.m_bExportOnChange = !!lua_toboolean( LUA->L, -1 );
|
||||||
|
lua_pop( LUA->L, 1 );
|
||||||
|
|
||||||
|
|
||||||
lua_pushstring( LUA->L, "LayoutType" );
|
lua_pushstring( LUA->L, "LayoutType" );
|
||||||
lua_gettable( LUA->L, -2 );
|
lua_gettable( LUA->L, -2 );
|
||||||
pStr = lua_tostring( LUA->L, -1 );
|
pStr = lua_tostring( LUA->L, -1 );
|
||||||
|
|||||||
Reference in New Issue
Block a user