summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release-notes.md12
-rw-r--r--src/StardewModdingAPI/Events/EventArgsFarmerChanged.cs4
-rw-r--r--src/StardewModdingAPI/Events/EventArgsIntChanged.cs4
-rw-r--r--src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs2
4 files changed, 12 insertions, 10 deletions
diff --git a/release-notes.md b/release-notes.md
index 90ad1736..c82846a6 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -3,11 +3,13 @@
## 1.x
* 1.0 (upcoming, [log](https://github.com/CLxS/SMAPI/compare/0.40.1.1-3...master))
* Added support for Linux and Mac.
- * Added code documentation.
- * Removed support for mods in undocumented `%appdata\StardewValley\mods` folder **(breaking change)**.
- * Removed obsolete and unfinished code.
- * Simplified compiling from source.
- * Internal cleanup & refactoring.
+ * Removed undocumented support for mods in AppData folder **(breaking change)**.
+ * Fixed several events not correctly propagating state (#129).
+ * Internal cleanup:
+ * Simplified compiling from source.
+ * Added code documentation.
+ * Internal cleanup & refactoring.
+ * Removed obsolete and unfinished code.
## 0.x
* 0.40.1.1 (2016-09-30, [log](https://github.com/CLxS/SMAPI/compare/0.40.0...0.40.1.1-3))
diff --git a/src/StardewModdingAPI/Events/EventArgsFarmerChanged.cs b/src/StardewModdingAPI/Events/EventArgsFarmerChanged.cs
index ba8794b7..273f9d25 100644
--- a/src/StardewModdingAPI/Events/EventArgsFarmerChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsFarmerChanged.cs
@@ -24,8 +24,8 @@ namespace StardewModdingAPI.Events
/// <param name="newFarmer">The new player character.</param>
public EventArgsFarmerChanged(Farmer priorFarmer, Farmer newFarmer)
{
- this.NewFarmer = NewFarmer;
- this.PriorFarmer = PriorFarmer;
+ this.PriorFarmer = priorFarmer;
+ this.NewFarmer = newFarmer;
}
}
}
diff --git a/src/StardewModdingAPI/Events/EventArgsIntChanged.cs b/src/StardewModdingAPI/Events/EventArgsIntChanged.cs
index 0ccb9b87..31079730 100644
--- a/src/StardewModdingAPI/Events/EventArgsIntChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsIntChanged.cs
@@ -23,8 +23,8 @@ namespace StardewModdingAPI.Events
/// <param name="newInt">The current value.</param>
public EventArgsIntChanged(int priorInt, int newInt)
{
- this.NewInt = NewInt;
- this.PriorInt = PriorInt;
+ this.PriorInt = priorInt;
+ this.NewInt = newInt;
}
}
}
diff --git a/src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs b/src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs
index 42daa4db..2e314731 100644
--- a/src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs
+++ b/src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs
@@ -24,7 +24,7 @@ namespace StardewModdingAPI.Events
/// <param name="newState">The current keyboard state.</param>
public EventArgsKeyboardStateChanged(KeyboardState priorState, KeyboardState newState)
{
- this.NewState = newState;
+ this.PriorState = priorState;
this.NewState = newState;
}
}