From 9578be099814924870bcb25b1fe4f8a2d375f3b9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 2 Jul 2017 08:45:23 -0400 Subject: [PATCH] Pong ball is centered on levelcomplete --- ShiftOS.WinForms/Applications/Pong.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs index 2f309f3..e569af4 100644 --- a/ShiftOS.WinForms/Applications/Pong.cs +++ b/ShiftOS.WinForms/Applications/Pong.cs @@ -246,6 +246,10 @@ namespace ShiftOS.WinForms.Applications doAi = false; doBallCalc = false; counterTimer.Stop(); + ballX = 0; + ballY = 0; + aiBallX = 0; + aiBallY = 0; pnllevelwon.CenterParent(); pnllevelwon.Show(); pnllevelwon.BringToFront();