diff --git a/Library/MeasureScript.cpp b/Library/MeasureScript.cpp index 35ae40a9..7fbf15ab 100644 --- a/Library/MeasureScript.cpp +++ b/Library/MeasureScript.cpp @@ -161,10 +161,13 @@ void MeasureScript::ReadOptions(ConfigParser& parser, const WCHAR* section) } } } + + // Pop PROPERTIES table. + lua_pop(L, 1); } - // Pop PROPERTIES table and our table - lua_pop(L, 2); + // Pop our table. + lua_pop(L, 1); if (m_Initialized) {