Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko committed Mar 31, 2024
1 parent 3160fae commit 640c623
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ class $modify(LevelInfoLayer) {

if (!Mod::get()->getSettingValue<bool>("enabled")) return;

if (sessionLengths.contains(level->m_levelID.value())) sessionLengths.erase(level->m_levelID.value());

if (m_fields->literalLengthLabel)
m_fields->literalLengthLabel->setString(getLengthString(level).c_str());
}
Expand Down

0 comments on commit 640c623

Please sign in to comment.