summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-02-21 13:50:08 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-02-21 13:50:08 -0500
commitad80f8b078176519d49732b28a03465e6d8a6501 (patch)
treeadec90643fa06e58f064d8a4841263c26ba1f93c /src/SMAPI/Metadata
parent79aee3fba7a43025d84527f883ce6715d7140302 (diff)
downloadSMAPI-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.cs2
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;