[LifeMeterBattery] Added LivesLeft param to LifeChanged message.

This commit is contained in:
AJ Kelly
2011-06-03 16:21:30 -05:00
parent d01ca062d2
commit f3ded5f68a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -142,6 +142,7 @@ void LifeMeterBattery::ChangeLife( TapNoteScore score )
Message msg( "LifeChanged" );
msg.SetParam( "Player", m_pPlayerState->m_PlayerNumber );
msg.SetParam( "LifeMeter", LuaReference::CreateFromPush(*this) );
msg.SetParam( "LivesLeft", GetLivesLeft() );
MESSAGEMAN->Broadcast( msg );
}