aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Plugin.cs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-04 01:12:32 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-04 20:54:09 -0700
commit93777d1f6185bbb4478ee7e2318d3feb6cda65b8 (patch)
tree766624755996fb84b876d8ce70bb9405be9534f1 /Malmstone/Plugin.cs
parenta04a4a0bb58ef8ccb33b47ba77af386fa32d7ef2 (diff)
fix: incorrect calculation function called on Frontline chat notif
Diffstat (limited to 'Malmstone/Plugin.cs')
-rw-r--r--Malmstone/Plugin.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Malmstone/Plugin.cs b/Malmstone/Plugin.cs
index be9858a..5ed6a65 100644
--- a/Malmstone/Plugin.cs
+++ b/Malmstone/Plugin.cs
@@ -224,9 +224,9 @@ private void OnCommand(string command, string args)
if (xpResult.RivalWingsWin > 0)
{
seString.Append(new TextPayload($"Win: {xpResult.RivalWingsWin} " + (xpResult.RivalWingsWin == 1 ? "time" : "times") + "\n"));
- }
+ }
- if (xpResult.RivalWingsLose > 0)
+ if (xpResult.RivalWingsLose > 0)
{
seString.Append(new TextPayload($"Lose: {xpResult.RivalWingsLose} " + (xpResult.RivalWingsLose == 1 ? "time" : "times") + "\n"));
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage