diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-20 19:45:45 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-03-20 19:45:45 -0400 |
commit | 5be3e5af5a08f9e72a969191dca07597d9c7c1f7 (patch) | |
tree | edf6891e855670c8a7379d4ef635c4be58198f95 /src/SMAPI/Framework | |
parent | ae061165442ecb93e3a5a81bb918fd4c29e85e3a (diff) | |
download | SMAPI-5be3e5af5a08f9e72a969191dca07597d9c7c1f7.tar.gz SMAPI-5be3e5af5a08f9e72a969191dca07597d9c7c1f7.tar.bz2 SMAPI-5be3e5af5a08f9e72a969191dca07597d9c7c1f7.zip |
rename class to better match usage (#459)
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/ContentCore.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/ContentCore.cs b/src/SMAPI/Framework/ContentCore.cs index 85b8db8f..d5848d7b 100644 --- a/src/SMAPI/Framework/ContentCore.cs +++ b/src/SMAPI/Framework/ContentCore.cs @@ -51,7 +51,7 @@ namespace StardewModdingAPI.Framework private readonly IDictionary<string, LocalizedContentManager.LanguageCode> LanguageCodes; /// <summary>Provides metadata for core game assets.</summary> - private readonly CoreAssets CoreAssets; + private readonly CoreAssetPropagator CoreAssets; /// <summary>The assets currently being intercepted by <see cref="IAssetLoader"/> instances. This is used to prevent infinite loops when a loader loads a new asset.</summary> private readonly ContextHash<string> AssetsBeingLoaded = new ContextHash<string>(); @@ -103,7 +103,7 @@ namespace StardewModdingAPI.Framework this.ModContentPrefix = this.GetAssetNameFromFilePath(Constants.ModPath); // get asset data - this.CoreAssets = new CoreAssets(this.NormaliseAssetName, reflection); + this.CoreAssets = new CoreAssetPropagator(this.NormaliseAssetName, reflection); this.Locales = this.GetKeyLocales(reflection); this.LanguageCodes = this.Locales.ToDictionary(p => p.Value, p => p.Key, StringComparer.InvariantCultureIgnoreCase); } |