From 78b957eae90502a75d0254790479e50cc2cd7d7c Mon Sep 17 00:00:00 2001 From: RogueAI42 Date: Thu, 29 Jun 2017 21:01:56 +1000 Subject: [PATCH] fixed codepoints leach --- ShiftOS.WinForms/Viruses/CPLeach.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShiftOS.WinForms/Viruses/CPLeach.cs b/ShiftOS.WinForms/Viruses/CPLeach.cs index f9be0a2..9c610cd 100644 --- a/ShiftOS.WinForms/Viruses/CPLeach.cs +++ b/ShiftOS.WinForms/Viruses/CPLeach.cs @@ -19,7 +19,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;