aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/Pong.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Applications/Pong.cs')
-rw-r--r--ShiftOS.WinForms/Applications/Pong.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs
index 5b60fbd..2f309f3 100644
--- a/ShiftOS.WinForms/Applications/Pong.cs
+++ b/ShiftOS.WinForms/Applications/Pong.cs
@@ -304,7 +304,7 @@ namespace ShiftOS.WinForms.Applications
doAi = true;
}
- private bool drawAiBall = true;
+ private bool drawAiBall = false;
private void pnlcanvas_Paint(object sender, PaintEventArgs e)
{
@@ -402,6 +402,7 @@ namespace ShiftOS.WinForms.Applications
public void OnLoad()
{
+ pnlgamestart.CenterParent();
doAi = false;
doBallCalc = false;
pnlgamestart.Show();