This commit is contained in:
TotallyNotElite 2018-09-14 18:42:26 +02:00
parent fa3e8daa18
commit 78c55d632c

View File

@ -94,7 +94,7 @@ static CatCommand save("save", "", [](const CCommand &args) {
void load_thread(const CCommand &args) void load_thread(const CCommand &args)
{ {
#if not ENABLE_VISUALS #if not ENABLE_VISUALS
std::this_thread::sleep_for(std::chrono_literals::operator""s(1)); std::this_thread::sleep_for(std::chrono_literals::operator""s(10));
settings::RVarLock.store(true); settings::RVarLock.store(true);
#endif #endif
std::this_thread::sleep_for(std::chrono_literals::operator""s(1)); std::this_thread::sleep_for(std::chrono_literals::operator""s(1));
@ -116,7 +116,7 @@ void load_thread(const CCommand &args)
break; break;
if (i > 5) if (i > 5)
{ {
logging::Info("cat_load: Force crash. Couldn't load config"); logging::Info("cat_load: Force crash. Couldn't load config!");
std::terminate(); std::terminate();
} }
std::this_thread::sleep_for(std::chrono_literals::operator""s(3)); std::this_thread::sleep_for(std::chrono_literals::operator""s(3));