From bd3a990140469b26b4b47ebb2ad11d6e8dfe315b Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Mon, 13 Jun 2022 12:21:06 -0400 Subject: [PATCH] * BugFix: Correct the 'gotoWebPage' function not using the VFS. --- Engine/source/console/consoleFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/console/consoleFunctions.cpp b/Engine/source/console/consoleFunctions.cpp index 4b43518e5..b17909184 100644 --- a/Engine/source/console/consoleFunctions.cpp +++ b/Engine/source/console/consoleFunctions.cpp @@ -2157,7 +2157,7 @@ DefineEngineFunction( gotoWebPage, void, ( const char* address ),, // the bogus url, and hope for the best. String addr; - if( Platform::isFile( address ) || Platform::isDirectory( address ) ) + if( Torque::FS::IsFile( address ) || Torque::FS::IsDirectory( address ) ) { #ifdef TORQUE2D_TOOLS_FIXME addr = String::ToString( "file://%s", address );