fix: After a init task failure, future tasks didn't run at all

This commit is contained in:
WerWolv 2021-04-22 00:20:16 +02:00
parent d91abb5eba
commit 0c6bd73996
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace hex::init {
this->m_currTaskName = name;
}
status = status && task();
status = task() && status;
{
std::lock_guard guard(this->m_progressMutex);