Make sure we always release Lua lock

I have a sneaking suspicion that this also magically fixes memory cards
on Linux.
This commit is contained in:
Devin J. Pohly
2016-05-24 16:25:23 -04:00
parent ddb91608ad
commit 10ddd549f3
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -3142,6 +3142,7 @@ void Player::SetHoldJudgment( TapNote &tn, int iTrack )
Lua* L = LUA->Get();
tn.PushSelf(L);
msg.SetParamFromStack( L, "TapNote" );
LUA->Release( L );
MESSAGEMAN->Broadcast( msg );
}