aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Viruses/CPLeach.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Viruses/CPLeach.cs')
-rw-r--r--ShiftOS.WinForms/Viruses/CPLeach.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Viruses/CPLeach.cs b/ShiftOS.WinForms/Viruses/CPLeach.cs
index 0d82187..d9780ee 100644
--- a/ShiftOS.WinForms/Viruses/CPLeach.cs
+++ b/ShiftOS.WinForms/Viruses/CPLeach.cs
@@ -18,7 +18,7 @@ namespace ShiftOS.WinForms.Viruses
Timer.Tick += (o, a) =>
{
ulong codepointDecrease = (ulong)threatlevel * 4;
- if (SaveSystem.CurrentSave.Codepoints >= codepointDecrease)
+ if (SaveSystem.CurrentSave.Codepoints <= codepointDecrease)
SaveSystem.CurrentSave.Codepoints -= codepointDecrease;
else
SaveSystem.CurrentSave.Codepoints = 0;