diff options
Diffstat (limited to 'src/StardewModdingAPI')
3 files changed, 5 insertions, 5 deletions
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; } } |