Fixed a bug with "points till next unlock"
Implemented metrics for unlock screen (sets position and size of dance points till next unlock)
This commit is contained in:
@@ -287,6 +287,7 @@ float UnlockSystem::NumPointsUntilNextUnlock()
|
||||
fSmallestPoints = min(fSmallestPoints, m_SongEntries[a].m_fDancePointsRequired);
|
||||
}
|
||||
|
||||
if (fSmallestPoints == 400000000) return 0; // no match found
|
||||
return fSmallestPoints - PREFSMAN->m_fDancePointsAccumulated;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user