We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a0e1f commit 584f2a8Copy full SHA for 584f2a8
src/NoteField.cpp
@@ -361,6 +361,11 @@ NoteField::Update(float fDeltaTime)
361
{
362
if (!this->GetVisible())
363
return;
364
+ if (!GAMESTATE->m_pCurSong) {
365
+ this->DeleteAllChildren();
366
+ return;
367
+ }
368
+
369
if (m_bFirstUpdate) {
370
m_pCurDisplay->m_ReceptorArrowRow.PlayCommand("On");
371
}
@@ -824,6 +829,11 @@ NoteField::CalcPixelsBeforeAndAfterTargets()
824
829
void
825
830
NoteField::DrawPrimitives()
826
831
832
833
834
835
836
827
837
// LOG->Trace( "NoteField::DrawPrimitives()" );
828
838
839
// This should be filled in on the first update.
0 commit comments