rm unneeded ref (#541)
This commit is contained in:
parent
62817de3f6
commit
a555c15bab
|
@ -37,7 +37,7 @@ namespace StardewModdingAPI.Framework.Patching
|
||||||
/// <summary>An implementation of <see cref="GameLocation.updateSeasonalTileSheets"/> which correctly handles custom map tilesheets.</summary>
|
/// <summary>An implementation of <see cref="GameLocation.updateSeasonalTileSheets"/> which correctly handles custom map tilesheets.</summary>
|
||||||
/// <param name="__instance">The location instance being patched.</param>
|
/// <param name="__instance">The location instance being patched.</param>
|
||||||
[SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Argument name is defined by Harmony.")]
|
[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"))
|
if (!__instance.IsOutdoors || __instance.Name.Equals("Desert"))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue