diff options
author | CJB <cjbok@ziggo.nl> | 2016-04-05 13:43:57 +0200 |
---|---|---|
committer | CJB <cjbok@ziggo.nl> | 2016-04-05 13:43:57 +0200 |
commit | c7201d83eb68f157622d12810f8c5380e89c6cd4 (patch) | |
tree | 051850e2e249e91a6d34999dc8957b07594345d2 /StardewModdingAPI/Inheritance | |
parent | 22ede82e898bfbec3a1cf0703d1d8cb89ec8ca0f (diff) | |
download | SMAPI-c7201d83eb68f157622d12810f8c5380e89c6cd4.tar.gz SMAPI-c7201d83eb68f157622d12810f8c5380e89c6cd4.tar.bz2 SMAPI-c7201d83eb68f157622d12810f8c5380e89c6cd4.zip |
Crashfix mnigames
Diffstat (limited to 'StardewModdingAPI/Inheritance')
-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 ccd3846c..0337f21a 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();
|