only look for game if not dev mode

This commit is contained in:
Lion Kortlepel 2024-03-27 17:04:01 +01:00
parent 2d5f95cf4d
commit afaa3501a3
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -82,7 +82,9 @@ int main(int argc, char** argv) {
spdlog::debug("Skipping update check due to dev mode"); spdlog::debug("Skipping update check due to dev mode");
} }
if (!enable_dev) {
launcher.find_game(); launcher.find_game();
}
if (!enable_dev) { if (!enable_dev) {
launcher.pre_game(); launcher.pre_game();
@ -93,7 +95,7 @@ int main(int argc, char** argv) {
std::this_thread::sleep_for(std::chrono::seconds(1)); std::this_thread::sleep_for(std::chrono::seconds(1));
} }
//auto _ = launcher.start_server_network("beamcruise.com", 10814); // auto _ = launcher.start_server_network("beamcruise.com", 10814);
// old: launcher.start_network(); // old: launcher.start_network();