play init command only once
This commit is contained in:
@@ -811,7 +811,6 @@ void BackgroundImpl::Layer::UpdateCurBGChange( const Song *pSong, float fLastMus
|
||||
LUA->SetGlobal( "Color2", change.m_def.m_sColor2.empty() ? RString("1,1,1,1") : change.m_def.m_sColor2 );
|
||||
|
||||
m_pCurrentBGA->InitDefaults();
|
||||
m_pCurrentBGA->PlayCommand( "Init" );
|
||||
m_pCurrentBGA->PlayCommand( "On" );
|
||||
m_pCurrentBGA->PlayCommand( "GainFocus" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user