refactor new IsScriptFile method to be zip-safe

This commit is contained in:
AzaezelX 2021-07-22 20:55:46 -05:00
parent 8976250fdf
commit b8eaefc21e
11 changed files with 30 additions and 28 deletions

View file

@ -337,7 +337,7 @@ void Prefab::_loadFile( bool addFileNotify )
if ( mFilename == StringTable->EmptyString())
return;
if ( !Platform::isScriptFile( mFilename ) )
if ( !Torque::FS::IsScriptFile( mFilename ) )
{
Con::errorf( "Prefab::_loadFile() - file %s was not found.", mFilename );
return;