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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user