aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/ShiftLetters.cs
diff options
context:
space:
mode:
authorAren <[email protected]>2017-02-25 14:20:00 +0100
committerAren <[email protected]>2017-02-25 14:20:00 +0100
commitd5678e127cf6ae8f35bf4cfaae41ab28e3c2b95d (patch)
treed63c6645f509a524c5f0f1530b21efcd8de86331 /ShiftOS.WinForms/Applications/ShiftLetters.cs
parent9cd4ea556b1435e00d879b58c67134cf543f3eab (diff)
downloadshiftos_thereturn-d5678e127cf6ae8f35bf4cfaae41ab28e3c2b95d.tar.gz
shiftos_thereturn-d5678e127cf6ae8f35bf4cfaae41ab28e3c2b95d.tar.bz2
shiftos_thereturn-d5678e127cf6ae8f35bf4cfaae41ab28e3c2b95d.zip
ShiftLetters now actually gives you codepoints, however, I'd appreciate it if someone else could add more words.
Diffstat (limited to 'ShiftOS.WinForms/Applications/ShiftLetters.cs')
-rw-r--r--ShiftOS.WinForms/Applications/ShiftLetters.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftLetters.cs b/ShiftOS.WinForms/Applications/ShiftLetters.cs
index 6e6a43e..19ee79e 100644
--- a/ShiftOS.WinForms/Applications/ShiftLetters.cs
+++ b/ShiftOS.WinForms/Applications/ShiftLetters.cs
@@ -118,9 +118,9 @@ namespace ShiftOS.WinForms.Applications
lives = 0;
lbllives.Visible = true;
btnrestart.Visible = true;
- int cp = word.Length * 2;
- cp = cp * oldlives;
+ long cp = word.Length * oldlives;
lbllives.Text = "You earned: " + cp + " codepoints!";
+ ShiftOS.Engine.SaveSystem.CurrentSave.Codepoints += cp;
}
}
}