diff --git a/Engine/source/T3D/assets/SoundAsset.cpp b/Engine/source/T3D/assets/SoundAsset.cpp index 236463a11..bd5ca8dda 100644 --- a/Engine/source/T3D/assets/SoundAsset.cpp +++ b/Engine/source/T3D/assets/SoundAsset.cpp @@ -448,7 +448,7 @@ bool SoundAsset::_setSoundFile(void* object, const char* index, const char* data id = dAtoui(index); if (pData->mSoundFile[id] == data) - return true; + return false; // Update. pData->mSoundFile[id] = data; @@ -459,7 +459,7 @@ bool SoundAsset::_setSoundFile(void* object, const char* index, const char* data // Refresh the asset. pData->refreshAsset(); - return false; + return true; } StringTableEntry SoundAsset::getAssetIdByFileName(StringTableEntry fileName)