Freeze fix when booting up Journey of the Prairie king

This commit is contained in:
CJB 2016-03-30 20:39:40 +02:00
parent 2b247c05ae
commit 9f0210a255
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ namespace StardewModdingAPI.Inheritance
/// </summary>
public int ThumbstickMotionMargin
{
get { return (int)typeof(Game1).GetBaseFieldValue<object>(Program.gamePtr, "thumbstickMotionMargin"); }
set { typeof(Game1).SetBaseFieldValue<object>(this, "thumbstickMotionMargin", value); }
get { return (int)typeof(Game1).GetField("thumbstickMotionMargin", BindingFlags.NonPublic | BindingFlags.Static).GetValue(null); }
set { typeof(Game1).GetField("thumbstickMotionMargin", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, value); }
}
/// <summary>