diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-10-08 19:53:43 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-10-08 19:53:43 -0400 |
commit | 2b76309b53f8cf322152801d0c1ca6e3b3c777f5 (patch) | |
tree | 3961cd37336a0c972f16ca947a6ce7807dc2b239 /src/SMAPI/Metadata | |
parent | 08ba5dc52053a62be1fe3319ab3428a2c41fee28 (diff) | |
download | SMAPI-2b76309b53f8cf322152801d0c1ca6e3b3c777f5.tar.gz SMAPI-2b76309b53f8cf322152801d0c1ca6e3b3c777f5.tar.bz2 SMAPI-2b76309b53f8cf322152801d0c1ca6e3b3c777f5.zip |
fix compile errors on Linux
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r-- | src/SMAPI/Metadata/CoreAssetPropagator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Metadata/CoreAssetPropagator.cs b/src/SMAPI/Metadata/CoreAssetPropagator.cs index b176185b..7efd99a0 100644 --- a/src/SMAPI/Metadata/CoreAssetPropagator.cs +++ b/src/SMAPI/Metadata/CoreAssetPropagator.cs @@ -1232,7 +1232,7 @@ namespace StardewModdingAPI.Metadata // yield root + child locations foreach (GameLocation location in rootLocations) { - yield return new(location, null); + yield return new LocationInfo(location, null); if (buildingInteriors && location is BuildableGameLocation buildableLocation) { @@ -1240,7 +1240,7 @@ namespace StardewModdingAPI.Metadata { GameLocation indoors = building.indoors.Value; if (indoors != null) - yield return new(indoors, building); + yield return new LocationInfo(indoors, building); } } } |