Fixed core not initialized
Former-commit-id: 8eaaeae007e92d419fa9ee4e84bcf94c2aa30492
This commit is contained in:
parent
7970752a5b
commit
9ce7903b63
|
|
@ -27,7 +27,7 @@ bool NzCore::Initialize(bool initializeHardwareInfo, bool initializeTaskSchedule
|
|||
}
|
||||
|
||||
// Vérification après l'initialisation des sous-modules
|
||||
if (s_moduleReferenceCounter != 0)
|
||||
if (s_moduleReferenceCounter != 1)
|
||||
return true; // Déjà initialisé
|
||||
|
||||
NazaraNotice("Initialized: Core");
|
||||
|
|
|
|||
Loading…
Reference in New Issue