diff options
author | CJBok <cjbok@ziggo.nl> | 2016-04-05 13:45:29 +0200 |
---|---|---|
committer | CJBok <cjbok@ziggo.nl> | 2016-04-05 13:45:29 +0200 |
commit | 46621d5eee8e581888f01b864c6bc9c79b214f94 (patch) | |
tree | 70930fbc50d30a4072e2566cdb5b5aba4a63a777 /StardewModdingAPI | |
parent | 06e5fcb1df8c6c33e6b5f67fd9283cd19bb7c973 (diff) | |
parent | c7201d83eb68f157622d12810f8c5380e89c6cd4 (diff) | |
download | SMAPI-46621d5eee8e581888f01b864c6bc9c79b214f94.tar.gz SMAPI-46621d5eee8e581888f01b864c6bc9c79b214f94.tar.bz2 SMAPI-46621d5eee8e581888f01b864c6bc9c79b214f94.zip |
Merge pull request #100 from CJBok/master
Crashfix minigame SDV 1.07
Diffstat (limited to 'StardewModdingAPI')
-rw-r--r-- | StardewModdingAPI/Inheritance/SGame.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/StardewModdingAPI/Inheritance/SGame.cs b/StardewModdingAPI/Inheritance/SGame.cs index 2e6dc909..b0cff241 100644 --- a/StardewModdingAPI/Inheritance/SGame.cs +++ b/StardewModdingAPI/Inheritance/SGame.cs @@ -204,15 +204,6 @@ namespace StardewModdingAPI.Inheritance }
/// <summary>
- ///
- /// </summary>
- public int ThumbstickMotionMargin
- {
- 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>
/// The current Colour in Game1 (Private field, uses reflection)
/// </summary>
public Color BgColour
@@ -581,8 +572,8 @@ namespace StardewModdingAPI.Inheritance }
else
{
- if (ThumbstickMotionMargin > 0)
- ThumbstickMotionMargin -= gameTime.ElapsedGameTime.Milliseconds;
+ if (thumbstickMotionMargin > 0)
+ thumbstickMotionMargin -= gameTime.ElapsedGameTime.Milliseconds;
if (IsActive)
{
KeyboardState state1 = Keyboard.GetState();
|