diff --git a/stepmania/src/XmlFileUtil.cpp b/stepmania/src/XmlFileUtil.cpp index e2a97305b2..ecdd8c6042 100644 --- a/stepmania/src/XmlFileUtil.cpp +++ b/stepmania/src/XmlFileUtil.cpp @@ -663,6 +663,7 @@ namespace pValue->SetValueFromStack( L ); pNode->AppendAttrFrom( sName, pValue ); } + lua_pop( L, 1 ); /* Recursively process tables. */ FOREACHM( RString, LuaReference, NodesToAdd, t )