Don't Reset(). It clears too much state (unsubscribing messages, etc). InitCommand
and OnCommand should undo any state needed.
This commit is contained in:
@@ -804,7 +804,6 @@ void BackgroundImpl::Layer::UpdateCurBGChange( const Song *pSong, float fLastMus
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pCurrentBGA->Reset();
|
|
||||||
m_pCurrentBGA->SetUpdateRate( change.m_fRate );
|
m_pCurrentBGA->SetUpdateRate( change.m_fRate );
|
||||||
|
|
||||||
// Set Lua color globals before calling Init and On
|
// Set Lua color globals before calling Init and On
|
||||||
|
|||||||
Reference in New Issue
Block a user