mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-02-16 10:40:46 +00:00
increased timeout
This commit is contained in:
@@ -50,7 +50,7 @@ void ContinuousCheck(fs::file_time_type last){
|
||||
int i = 0;
|
||||
while(fs::exists(path) && last == fs::last_write_time(path)){
|
||||
if(!BeamLoad(SecW(L"BeamNG\\mods\\BeamMP.zip"))) {
|
||||
if (i < 60)i++;
|
||||
if (i < 120)i++;
|
||||
else {
|
||||
error(Sec("Mod did not load! launcher closing soon"));
|
||||
std::this_thread::sleep_for(std::chrono::seconds(5));
|
||||
|
||||
@@ -22,7 +22,7 @@ std::string GetVer(){
|
||||
return std::string(Sec("1.70"));
|
||||
}
|
||||
std::string GetPatch(){
|
||||
return std::string(Sec(".2"));
|
||||
return std::string(Sec(".3"));
|
||||
}
|
||||
void ReLaunch(int argc,char*args[]){
|
||||
std::string Arg;
|
||||
|
||||
Reference in New Issue
Block a user