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