From ed440fa6484662c26907ebb9566bc4726887feca Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 16 Jun 2005 22:05:25 +0000 Subject: [PATCH] lua locking fix --- stepmania/src/ThemeMetric.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ThemeMetric.h b/stepmania/src/ThemeMetric.h index 9b446e2baf..2ed0e32487 100644 --- a/stepmania/src/ThemeMetric.h +++ b/stepmania/src/ThemeMetric.h @@ -297,9 +297,9 @@ public: // call function with 0 arguments and 1 result lua_call(L, 0, 1); - LUA->Release(L); + LuaHelpers::PopStack( m_currentValue, L ); - LuaHelpers::PopStack( m_currentValue, LUA->L ); + LUA->Release(L); return m_currentValue; }