Skip to content

Commit

Permalink
werwerwerwerwerwerwer's birthday
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 25, 2018
1 parent f9a0e1f commit 584f2a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/NoteField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ NoteField::Update(float fDeltaTime)
{
if (!this->GetVisible())
return;
if (!GAMESTATE->m_pCurSong) {
this->DeleteAllChildren();
return;
}

if (m_bFirstUpdate) {
m_pCurDisplay->m_ReceptorArrowRow.PlayCommand("On");
}
Expand Down Expand Up @@ -824,6 +829,11 @@ NoteField::CalcPixelsBeforeAndAfterTargets()
void
NoteField::DrawPrimitives()
{
if (!GAMESTATE->m_pCurSong) {
this->DeleteAllChildren();
return;
}

// LOG->Trace( "NoteField::DrawPrimitives()" );

// This should be filled in on the first update.
Expand Down

0 comments on commit 584f2a8

Please sign in to comment.