diff --git a/source/manage_hiscore_table.cpp b/source/manage_hiscore_table.cpp index 096dd4b..e3e7650 100644 --- a/source/manage_hiscore_table.cpp +++ b/source/manage_hiscore_table.cpp @@ -40,9 +40,9 @@ void ManageHiScoreTable::add(hiScoreEntry_t entry) sort(); // Deja solo las 10 primeras entradas - if ((int)table->size() >= 10) + if ((int)table->size() > 10) { - table->resize(table->size() - 10); + table->resize(10); } }