summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-06 22:12:22 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-06 22:12:22 -0400
commita555c15babc80c87b9d49570fda43323f10539bf (patch)
tree763d21ab15164e394d409aeea44da7c686bc3f6f /src
parent62817de3f69337a28f887a53660b500921e2dcbd (diff)
downloadSMAPI-a555c15babc80c87b9d49570fda43323f10539bf.tar.gz
SMAPI-a555c15babc80c87b9d49570fda43323f10539bf.tar.bz2
SMAPI-a555c15babc80c87b9d49570fda43323f10539bf.zip
rm unneeded ref (#541)
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI/Framework/Patching/GameLocationPatch.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Patching/GameLocationPatch.cs b/src/SMAPI/Framework/Patching/GameLocationPatch.cs
index 669c700a..c0216b8f 100644
--- a/src/SMAPI/Framework/Patching/GameLocationPatch.cs
+++ b/src/SMAPI/Framework/Patching/GameLocationPatch.cs
@@ -37,7 +37,7 @@ namespace StardewModdingAPI.Framework.Patching
/// <summary>An implementation of <see cref="GameLocation.updateSeasonalTileSheets"/> which correctly handles custom map tilesheets.</summary>
/// <param name="__instance">The location instance being patched.</param>
[SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Argument name is defined by Harmony.")]
- private static bool Prefix(ref GameLocation __instance)
+ private static bool Prefix(GameLocation __instance)
{
if (!__instance.IsOutdoors || __instance.Name.Equals("Desert"))
return false;