[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
+4
View File
@@ -8,6 +8,10 @@ ________________________________________________________________________________
StepMania 5.0 Preview 2 | 20110???
--------------------------------------------------------------------------------
2011/06/03
----------
* [LifeMeterBattery] Added LivesLeft param to LifeChanged message. [AJ]
2011/06/02
----------
* [BPMDisplay] Added SetFromSteps Lua binding. [AJ]
+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 );
}