diff --git a/Engine/source/console/fileSystemFunctions.cpp b/Engine/source/console/fileSystemFunctions.cpp index bf9c0ae63..cabb0b8d7 100644 --- a/Engine/source/console/fileSystemFunctions.cpp +++ b/Engine/source/console/fileSystemFunctions.cpp @@ -594,19 +594,19 @@ DefineEngineFunction(compareFileTimes, S32, (const char* fileA, const char* file } Torque::FS::FileNode::Attributes fileAAttributes; - Torque::FS::FileNode::Attributes fileABttributes; + Torque::FS::FileNode::Attributes fileBAttributes; // If retrieval of attributes fails, we can't compare - if (!nodeA->getAttributes(&fileAAttributes) || !nodeB->getAttributes(&fileABttributes)) + if (!nodeA->getAttributes(&fileAAttributes) || !nodeB->getAttributes(&fileBAttributes)) { return 0; } - if (fileAAttributes.mtime > fileABttributes.mtime) + if (fileAAttributes.mtime > fileBAttributes.mtime) { return 1; } - else if (fileAAttributes.mtime < fileABttributes.mtime) + else if (fileAAttributes.mtime < fileBAttributes.mtime) { return -1; }