diff options
Diffstat (limited to 'ShiftOS.WinForms')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Pong.cs | 5 |
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. |
