From 54af98203f51587d08244e4a5e3e233d9bb77d22 Mon Sep 17 00:00:00 2001 From: Anonymous275 <36374260+Anonymous-275@users.noreply.github.com> Date: Tue, 26 Jul 2022 10:09:37 +0300 Subject: [PATCH] Minor edit --- src/Launcher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Launcher.cpp b/src/Launcher.cpp index 0ecabd3..a23bb24 100644 --- a/src/Launcher.cpp +++ b/src/Launcher.cpp @@ -98,13 +98,14 @@ void Launcher::LaunchGame() { LOG(WARNING) << "BeamNG V" << BeamVersion << " is slightly older than recommended, this might cause issues!"; } if(Memory::GetBeamNGPID({}) == 0) { + LOG(INFO) << "Launching BeamNG from steam"; ShellExecuteA(nullptr, nullptr, "steam://rungameid/284160", nullptr, nullptr, SW_SHOWNORMAL); //ShowWindow(GetConsoleWindow(), HIDE_WINDOW); } + LOG(INFO) << "Waiting for a game process, please start BeamNG manually in case of steam issues"; } void Launcher::WaitForGame() { - LOG(INFO) << "Searching for a game process, please start BeamNG manually in case of steam issues"; std::set BlackList; do { auto PID = Memory::GetBeamNGPID(BlackList);