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 /Malmstone/Addons | |
| parent | a79e3b874d184bb72088a0adb0c7fcafef1ab4d9 (diff) | |
fix: losing streak bonus amount no saving post frontline game
Diffstat (limited to 'Malmstone/Addons')
| -rw-r--r-- | Malmstone/Addons/PvPMatchAddon.cs | 2 |
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 { |
