aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Addons/PvPMatchAddon.cs
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 /Malmstone/Addons/PvPMatchAddon.cs
parenta79e3b874d184bb72088a0adb0c7fcafef1ab4d9 (diff)
fix: losing streak bonus amount no saving post frontline game
Diffstat (limited to 'Malmstone/Addons/PvPMatchAddon.cs')
-rw-r--r--Malmstone/Addons/PvPMatchAddon.cs2
1 files changed, 2 insertions, 0 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
{
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage