fix high score displays not showing high score number
This commit is contained in:
@@ -605,6 +605,7 @@ void ScreenEvaluation::Init()
|
||||
{
|
||||
if( m_pStageStats->m_player[p].m_iMachineHighScoreIndex != -1 )
|
||||
{
|
||||
LuaThreadVariable var( "MachineHighScoreNumber", LuaReference::Create(m_pStageStats->m_player[p].m_iMachineHighScoreIndex+1) );
|
||||
m_sprMachineRecord[p].Load( THEME->GetPathG( m_sName, ssprintf("MachineRecord",m_pStageStats->m_player[p].m_iMachineHighScoreIndex+1) ) );
|
||||
m_sprMachineRecord[p]->SetName( ssprintf("MachineRecordP%d",p+1) );
|
||||
ActorUtil::LoadAllCommands( *m_sprMachineRecord[p], m_sName );
|
||||
@@ -613,6 +614,7 @@ void ScreenEvaluation::Init()
|
||||
}
|
||||
if( m_pStageStats->m_player[p].m_iProfileHighScoreIndex != -1 )
|
||||
{
|
||||
LuaThreadVariable var( "ProfileHighScoreNumber", LuaReference::Create(m_pStageStats->m_player[p].m_iProfileHighScoreIndex+1) );
|
||||
m_sprProfileRecord[p].Load( THEME->GetPathG( m_sName, ssprintf("ProfileRecord",m_pStageStats->m_player[p].m_iProfileHighScoreIndex+1) ) );
|
||||
m_sprProfileRecord[p]->SetName( ssprintf("ProfileRecordP%d",p+1) );
|
||||
ActorUtil::LoadAllCommands( *m_sprProfileRecord[p], m_sName );
|
||||
|
||||
Reference in New Issue
Block a user