aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-11 13:41:07 -0500
committerMichael <[email protected]>2017-02-11 13:41:07 -0500
commit79b166b27549ea9ab060fedbc42836e10a018308 (patch)
tree6e6e37853cc25281ce54a928af4e2a52531cb9a8
parent6f939e295e5d2e6ee5b3dad093d2d8c569a30087 (diff)
downloadshiftos_thereturn-79b166b27549ea9ab060fedbc42836e10a018308.tar.gz
shiftos_thereturn-79b166b27549ea9ab060fedbc42836e10a018308.tar.bz2
shiftos_thereturn-79b166b27549ea9ab060fedbc42836e10a018308.zip
Final modifications to pong as far as backend
-rw-r--r--ShiftOS.WinForms/Applications/Pong.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs
index 4b531b3..5a4cf9a 100644
--- a/ShiftOS.WinForms/Applications/Pong.cs
+++ b/ShiftOS.WinForms/Applications/Pong.cs
@@ -189,9 +189,14 @@ namespace ShiftOS.WinForms.Applications
{
totalreward = levelrewards[level - 1] + beatairewardtotal;
double onePercent = (totalreward / 100);
+ lblbutyougained.Show();
lblbutyougained.Text = Localization.Parse("{BUT_YOU_GAINED}:") + Environment.NewLine + onePercent.ToString("") + (Localization.Parse(" {CODEPOINTS}"));
SaveSystem.TransferCodepointsFrom("pong", (totalreward / 100));
}
+ else
+ {
+ lblbutyougained.Hide();
+ }
}
// Check for right wall.