Final modifications to pong as far as backend

This commit is contained in:
Michael 2017-02-11 13:41:07 -05:00
parent 6f939e295e
commit 79b166b275

View file

@ -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.