Update/fix module template
Former-commit-id: ec7daea1a67eb2b3124148bcc7cc46bc9566d16c
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Nz
|
||||
}
|
||||
|
||||
// Initialize module dependencies
|
||||
if (!NzCore::Initialize())
|
||||
if (!Core::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialize core module");
|
||||
return false;
|
||||
@@ -48,7 +48,7 @@ namespace Nz
|
||||
{
|
||||
if (s_moduleReferenceCounter != 1)
|
||||
{
|
||||
// Le module est soit encore utilisé, soit pas initialisé
|
||||
// Either the module is not initialized, either it was initialized multiple times
|
||||
if (s_moduleReferenceCounter > 1)
|
||||
s_moduleReferenceCounter--;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user