diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-02-21 13:50:08 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-02-21 13:50:08 -0500 |
commit | ad80f8b078176519d49732b28a03465e6d8a6501 (patch) | |
tree | adec90643fa06e58f064d8a4841263c26ba1f93c /src/SMAPI/Metadata | |
parent | 79aee3fba7a43025d84527f883ce6715d7140302 (diff) | |
download | SMAPI-ad80f8b078176519d49732b28a03465e6d8a6501.tar.gz SMAPI-ad80f8b078176519d49732b28a03465e6d8a6501.tar.bz2 SMAPI-ad80f8b078176519d49732b28a03465e6d8a6501.zip |
use inheritdoc, minor cleanup
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index 5fb1b10d..8b591bc1 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -1201,7 +1201,7 @@ namespace StardewModdingAPI.Metadata GameContentManagerForAssetPropagation content = this.DisposableContentManager; Texture2D newTexture = content.Load<Texture2D>(key); - if (oldTexture?.IsDisposed == false && !object.ReferenceEquals(oldTexture, newTexture) && content.IsReponsibleFor(oldTexture)) + if (oldTexture?.IsDisposed == false && !object.ReferenceEquals(oldTexture, newTexture) && content.IsResponsibleFor(oldTexture)) oldTexture.Dispose(); return newTexture; |