summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SContentManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/SContentManager.cs')
-rw-r--r--src/SMAPI/Framework/SContentManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/SContentManager.cs b/src/SMAPI/Framework/SContentManager.cs
index ff227fac..463fea0b 100644
--- a/src/SMAPI/Framework/SContentManager.cs
+++ b/src/SMAPI/Framework/SContentManager.cs
@@ -792,12 +792,12 @@ namespace StardewModdingAPI.Framework
{
try
{
- this.Lock.EnterReadLock();
+ this.Lock.EnterWriteLock();
return action();
}
finally
{
- this.Lock.ExitReadLock();
+ this.Lock.ExitWriteLock();
}
}
}