From aba45f18b45ba6fbfaf347f3314c63f1b6d80043 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Wed, 29 Dec 2021 22:22:13 +0100 Subject: [PATCH] Also try other binary name --- src/client/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/main.cpp b/src/client/main.cpp index 45a1a6bd..b24acb2a 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -67,6 +67,12 @@ FARPROC load_binary(const launcher::mode mode, uint64_t* base_address) { case launcher::mode::singleplayer: binary = "MW2CR.exe"; + + if (!utils::io::file_exists(binary)) + { + binary = "h2_sp64_bnet_ship.exe"; + } + break; case launcher::mode::none: default: