diff options
| author | RogueAI42 <[email protected]> | 2017-06-29 21:01:56 +1000 |
|---|---|---|
| committer | RogueAI42 <[email protected]> | 2017-06-29 21:01:56 +1000 |
| commit | 78b957eae90502a75d0254790479e50cc2cd7d7c (patch) | |
| tree | 483dcecca34ec4351808a10facaf3455c2612c54 | |
| parent | 95086532dcebbe7aeb3b900364afc5b3146e0910 (diff) | |
| download | shiftos_thereturn-78b957eae90502a75d0254790479e50cc2cd7d7c.tar.gz shiftos_thereturn-78b957eae90502a75d0254790479e50cc2cd7d7c.tar.bz2 shiftos_thereturn-78b957eae90502a75d0254790479e50cc2cd7d7c.zip | |
fixed codepoints leach
| -rw-r--r-- | ShiftOS.WinForms/Viruses/CPLeach.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
