Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Uproxide authored Feb 10, 2024
1 parent b9f757d commit 4407006
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ class $modify(LevelInfoLayer) {
bool init(GJGameLevel* p0, bool p1) {
if (!LevelInfoLayer::init(p0, p1)) return false;

std::this_thread::sleep_for(std::chrono::milliseconds(400));

if (this->m_songWidget->m_downloadBtn->isVisible()) {
std::this_thread::sleep_for(std::chrono::milliseconds(100));
this->m_songWidget->onDownload(nullptr);
} else {
// no
Expand Down

0 comments on commit 4407006

Please sign in to comment.