summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-20 23:22:24 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-20 23:22:24 -0500
commit342fc80394ac2d1bd67fb1b745b8ddec927fac49 (patch)
tree8bfc33ebe6b0556a27eca0f16045e9a48fa67c99 /src/SMAPI/Framework/SCore.cs
parent49666ac5bcfc0ffb2b8e2b8f2a274f90b67232d2 (diff)
downloadSMAPI-342fc80394ac2d1bd67fb1b745b8ddec927fac49.tar.gz
SMAPI-342fc80394ac2d1bd67fb1b745b8ddec927fac49.tar.bz2
SMAPI-342fc80394ac2d1bd67fb1b745b8ddec927fac49.zip
rewrite C# 9 code not supported in Linux build tools yet
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 1ac361cd..cd094ff4 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -132,7 +132,7 @@ namespace StardewModdingAPI.Framework
private readonly ConcurrentQueue<string> RawCommandQueue = new ConcurrentQueue<string>();
/// <summary>A list of commands to execute on each screen.</summary>
- private readonly PerScreen<List<Tuple<Command, string, string[]>>> ScreenCommandQueue = new(() => new());
+ private readonly PerScreen<List<Tuple<Command, string, string[]>>> ScreenCommandQueue = new PerScreen<List<Tuple<Command, string, string[]>>>(() => new List<Tuple<Command, string, string[]>>());
/*********