The more accurate finish time stored as a variable wasn't reset between races.
This commit is contained in:
Alayan-stk-2 2018-11-07 19:01:27 +01:00 committed by GitHub
parent 189b90b2c5
commit c724585bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,6 +221,7 @@ void EasterEggHunt::reset(bool restart)
for(unsigned int i=0; i<m_eggs_collected.size(); i++)
m_eggs_collected[i] = 0;
m_eggs_found = 0;
m_finish_time = 0;
} // reset
//-----------------------------------------------------------------------------