aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAren <[email protected]>2017-02-26 16:47:47 +0100
committerGitHub <[email protected]>2017-02-26 16:47:47 +0100
commite2284a7bc577aa78f1d22c8134b651fcb00147a0 (patch)
tree964846453f47f777d51e99503a4a5f80377d0e09
parent78a5a4281cde2105e59164890caa949ef7617510 (diff)
downloadshiftos_thereturn-e2284a7bc577aa78f1d22c8134b651fcb00147a0.tar.gz
shiftos_thereturn-e2284a7bc577aa78f1d22c8134b651fcb00147a0.tar.bz2
shiftos_thereturn-e2284a7bc577aa78f1d22c8134b651fcb00147a0.zip
OCD
"You have: 1 lives left!"
-rw-r--r--ShiftOS.WinForms/Applications/ShiftLetters.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftLetters.cs b/ShiftOS.WinForms/Applications/ShiftLetters.cs
index 6547d8d..32a1ed4 100644
--- a/ShiftOS.WinForms/Applications/ShiftLetters.cs
+++ b/ShiftOS.WinForms/Applications/ShiftLetters.cs
@@ -225,7 +225,12 @@ namespace ShiftOS.WinForms.Applications
{
guessedCharacters = guessedCharacters + charGuessed;
lives--;
- lbllives.Text = "You have: " + lives + " lives left!";
+ if (lives == 1)
+ {
+ lbllives.Text = "You have 1 life left! Be careful...";
+ } else {
+ lbllives.Text = "You have " + lives + " lives left!";
+ }
if (lives == 0)
{
tbguess.Visible = false;