increased timeout

This commit is contained in:
Anonymous275
2020-11-16 02:40:09 +02:00
parent b5fd281c8d
commit c71b2a8387
2 changed files with 2 additions and 2 deletions

View File

@@ -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));

View File

@@ -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;