fixed codepoints leach
This commit is contained in:
parent
95086532dc
commit
78b957eae9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue