Merge pull request #86 from CJBok/master
Freeze fix when booting up Journey of the Prairie king
This commit is contained in:
commit
5975bbc3c2
|
@ -208,8 +208,8 @@ namespace StardewModdingAPI.Inheritance
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ThumbstickMotionMargin
|
public int ThumbstickMotionMargin
|
||||||
{
|
{
|
||||||
get { return (int)typeof(Game1).GetBaseFieldValue<object>(Program.gamePtr, "thumbstickMotionMargin"); }
|
get { return (int)typeof(Game1).GetField("thumbstickMotionMargin", BindingFlags.NonPublic | BindingFlags.Static).GetValue(null); }
|
||||||
set { typeof(Game1).SetBaseFieldValue<object>(this, "thumbstickMotionMargin", value); }
|
set { typeof(Game1).GetField("thumbstickMotionMargin", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue