forked from cafeberry/cafeberry
feat(Windows64): safely exit game & get monitors size that has the game window instead of primary
This commit is contained in:
@@ -67,7 +67,9 @@ void StatsCounter::award(Stat* stat, unsigned int difficulty, unsigned int count
|
||||
unordered_map<Stat*, int>::iterator leaderboardEntry = statBoards.find(stat);
|
||||
if( leaderboardEntry != statBoards.end() )
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
app.DebugPrintf("[StatsCounter] award(): %X\n", leaderboardEntry->second << difficulty);
|
||||
#endif
|
||||
modifiedBoards |= (leaderboardEntry->second << difficulty);
|
||||
if( flushCounter == 0 )
|
||||
flushCounter = FLUSH_DELAY;
|
||||
|
||||
Reference in New Issue
Block a user