mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-12 16:06:09 +00:00
FileStoreManager: Fix incorrect check
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user