aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-08 20:35:45 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-08 20:35:45 -0700
commit20598fbb7be6a73364661a4fd8e92ad6d242234f (patch)
tree9913e4ce034b3af96cafb3fe2790dc8e75ead69c
parenta79e3b874d184bb72088a0adb0c7fcafef1ab4d9 (diff)
fix: losing streak bonus amount no saving post frontline game
-rw-r--r--Malmstone/Addons/PvPMatchAddon.cs2
-rw-r--r--Malmstone/Windows/MainWindow.cs2
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)
};
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage