From 3cc13f8a8116a76fbebe4bd9d6ef51ebde5f1e0d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 8 Mar 2005 17:54:12 +0000 Subject: [PATCH] add ExportOnChange table value for Lua fixes workout goal amounts not applied correctly --- stepmania/src/OptionRowHandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/OptionRowHandler.cpp b/stepmania/src/OptionRowHandler.cpp index 2dfb2e4a6b..1ffdd49342 100644 --- a/stepmania/src/OptionRowHandler.cpp +++ b/stepmania/src/OptionRowHandler.cpp @@ -551,6 +551,12 @@ public: 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_gettable( LUA->L, -2 ); pStr = lua_tostring( LUA->L, -1 );