Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamguxiang committed Jun 10, 2022
2 parents fa04f2e + 0d1dacb commit 26f6217
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions LLHelper/Helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ void entry() {
}
return true;
});
Event::ServerStartedEvent::subscribe([](const Event::ServerStartedEvent& ev) {
std::thread th([]() {
CheckAutoUpdate(true, false);
});
th.detach();
return true;
});
//Event::ServerStartedEvent::subscribe([](const Event::ServerStartedEvent& ev) {
// std::thread th([]() {
// CheckAutoUpdate(false, false);
// });
// th.detach();
// return true;
// });
loadCfg();
RegisterCommands();
scheduleTask();
Expand Down
14 changes: 7 additions & 7 deletions LLtpa/Teleport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,13 +758,13 @@ void tpa_entry() {
return true;
});
}
Event::ServerStartedEvent::subscribe([](const Event::ServerStartedEvent &ev) {
std::thread th([]() {
CheckAutoUpdate(true, false);
});
th.detach();
return true;
});
//Event::ServerStartedEvent::subscribe([](const Event::ServerStartedEvent &ev) {
// std::thread th([]() {
// CheckAutoUpdate(false, false);
// });
// th.detach();
// return true;
//});
logger.info("Loaded version: {}", LLTPA_VERSION.toString());
}

0 comments on commit 26f6217

Please sign in to comment.