mirror of https://github.com/AxioDL/metaforce.git
FileStoreManager: Fix incorrect check
This commit is contained in:
parent
3f34a2d3ea
commit
aa1d6006ed
|
@ -23,7 +23,7 @@ FileStoreManager* g_instance = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
FileStoreManager::FileStoreManager(std::string_view org, std::string_view domain) : m_org(org), m_domain(domain) {
|
FileStoreManager::FileStoreManager(std::string_view org, std::string_view domain) : m_org(org), m_domain(domain) {
|
||||||
if (g_instance == this) {
|
if (g_instance != nullptr) {
|
||||||
Log.report(logvisor::Fatal, FMT_STRING("Attempting to build another FileStoreManager!!"));
|
Log.report(logvisor::Fatal, FMT_STRING("Attempting to build another FileStoreManager!!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue