diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-09-08 20:35:45 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-09-08 20:35:45 -0700 |
| commit | 20598fbb7be6a73364661a4fd8e92ad6d242234f (patch) | |
| tree | 9913e4ce034b3af96cafb3fe2790dc8e75ead69c | |
| parent | a79e3b874d184bb72088a0adb0c7fcafef1ab4d9 (diff) | |
fix: losing streak bonus amount no saving post frontline game
| -rw-r--r-- | Malmstone/Addons/PvPMatchAddon.cs | 2 | ||||
| -rw-r--r-- | Malmstone/Windows/MainWindow.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Malmstone/Addons/PvPMatchAddon.cs b/Malmstone/Addons/PvPMatchAddon.cs index 896001a..41501e3 100644 --- a/Malmstone/Addons/PvPMatchAddon.cs +++ b/Malmstone/Addons/PvPMatchAddon.cs @@ -55,6 +55,7 @@ namespace Malmstone.Addons Plugin.AddonLifeCycle.RegisterListener(AddonEvent.PostSetup, "FrontlineRecord", OnFrontlineRecordTrigger); Plugin.PvPService.CurrentFrontlineLosingBonus = Plugin.Configuration.SavedFrontlineRewardBonus; Plugin.Configuration.OutdatedFrontlineRewardBonus = true; + Plugin.Configuration.Save(); FrontlineRecordPostSetupEnabled = true; } @@ -140,6 +141,7 @@ namespace Malmstone.Addons Plugin.Logger.Debug("Series EXP Earned: " + SeriesExpEarned.ToString()); Plugin.Configuration.SavedFrontlineRewardBonus = CurrentLossBonus; Plugin.Configuration.OutdatedFrontlineRewardBonus = false; + Plugin.Configuration.Save(); } else { diff --git a/Malmstone/Windows/MainWindow.cs b/Malmstone/Windows/MainWindow.cs index e6e34aa..fbeb500 100644 --- a/Malmstone/Windows/MainWindow.cs +++ b/Malmstone/Windows/MainWindow.cs @@ -26,7 +26,7 @@ namespace Malmstone.Windows { SizeConstraints = new WindowSizeConstraints { - MinimumSize = new Vector2(460, 545), + MinimumSize = new Vector2(460, 550), MaximumSize = new Vector2(float.MaxValue, float.MaxValue) }; |
