diff --git a/loader/src/utils/file.cpp b/loader/src/utils/file.cpp index 67c1ebd5..c576b6c5 100644 --- a/loader/src/utils/file.cpp +++ b/loader/src/utils/file.cpp @@ -355,7 +355,9 @@ public: else { GEODE_UNWRAP(this->extractAt(dir, filePath)); } - m_progressCallback(currentEntry, numEntries); + if (m_progressCallback) { + m_progressCallback(currentEntry, numEntries); + } } else { log::error(