summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r--src/SMAPI/Framework/ContentCoordinator.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/SMAPI/Framework/ContentCoordinator.cs b/src/SMAPI/Framework/ContentCoordinator.cs
index 25eeb2ef..15f1c163 100644
--- a/src/SMAPI/Framework/ContentCoordinator.cs
+++ b/src/SMAPI/Framework/ContentCoordinator.cs
@@ -258,14 +258,7 @@ namespace StardewModdingAPI.Framework
}
// reload core game assets
- int reloaded = 0;
- foreach (var pair in removedAssetNames)
- {
- string key = pair.Key;
- Type type = pair.Value;
- if (this.CoreAssets.Propagate(this.MainContentManager, key, type)) // use an intercepted content manager
- reloaded++;
- }
+ int reloaded = this.CoreAssets.Propagate(this.MainContentManager, removedAssetNames); // use an intercepted content manager
// report result
if (removedAssetNames.Any())