diff --git a/Engine/source/testing/unitTesting.cpp b/Engine/source/testing/unitTesting.cpp index 0c42577ac..7e1cd63ab 100644 --- a/Engine/source/testing/unitTesting.cpp +++ b/Engine/source/testing/unitTesting.cpp @@ -88,7 +88,7 @@ DefineConsoleFunction( runAllUnitTests, int, (),, // Release the default listener. delete listeners.Release( listeners.default_result_printer() ); - if ( Con::getBoolVariable( "$testing::checkMemoryLeaks", false ) ) { + if ( Con::getBoolVariable( "$Testing::CheckMemoryLeaks", false ) ) { // Add the memory leak tester. listeners.Append( new testing::MemoryLeakDetector ); }