Don't play ready/go/failed/toasty/next song twice. I believe that since GenericTweenOn() returns true, BeginScreen() will run On on the entire screen.
This commit is contained in:
@@ -453,7 +453,6 @@ void ScreenGameplay::Init()
|
||||
if( !GAMESTATE->m_bDemonstrationOrJukebox ) // only load if we're going to use it
|
||||
{
|
||||
m_Toasty.Load( THEME->GetPathB(m_sName,"toasty") );
|
||||
m_Toasty.PlayCommand("On");
|
||||
this->AddChild( &m_Toasty );
|
||||
}
|
||||
|
||||
@@ -486,12 +485,10 @@ void ScreenGameplay::Init()
|
||||
|
||||
m_NextSong.Load( THEME->GetPathB(m_sName,"next course song") );
|
||||
m_NextSong.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 );
|
||||
m_NextSong.PlayCommand("On");
|
||||
this->AddChild( &m_NextSong );
|
||||
|
||||
m_SongFinished.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 );
|
||||
m_SongFinished.Load( THEME->GetPathB(m_sName,"song finished") );
|
||||
m_SongFinished.PlayCommand("On");
|
||||
this->AddChild( &m_SongFinished );
|
||||
|
||||
|
||||
@@ -689,16 +686,13 @@ void ScreenGameplay::Init()
|
||||
if( !GAMESTATE->m_bDemonstrationOrJukebox ) // only load if we're going to use it
|
||||
{
|
||||
m_Ready.Load( THEME->GetPathB(m_sName,"ready") );
|
||||
m_Ready.PlayCommand("On");
|
||||
this->AddChild( &m_Ready );
|
||||
|
||||
m_Go.Load( THEME->GetPathB(m_sName,"go") );
|
||||
m_Go.PlayCommand("On");
|
||||
this->AddChild( &m_Go );
|
||||
|
||||
m_Failed.Load( THEME->GetPathB(m_sName,"failed") );
|
||||
m_Failed.SetDrawOrder( DRAW_ORDER_TRANSITIONS-1 ); // on top of everything else
|
||||
m_Failed.PlayCommand("On");
|
||||
this->AddChild( &m_Failed );
|
||||
|
||||
m_textDebug.LoadFromFont( THEME->GetPathF("Common","normal") );
|
||||
|
||||
Reference in New Issue
Block a user