From 365bc86ff2b7f70302f41a3e850e709c6fcc2f09 Mon Sep 17 00:00:00 2001 From: maxwes08 Date: Mon, 20 Oct 2025 10:11:16 +0200 Subject: [PATCH] fixed input after win bug --- Game.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Game.cs b/Game.cs index b763b4b..05685b2 100644 --- a/Game.cs +++ b/Game.cs @@ -151,6 +151,7 @@ MessageBox.Show("You won"); Program.AddWin(); } + SetInputEnabled(false); return; } @@ -159,6 +160,7 @@ if (IsAllBoxesFilled()) { MessageBox.Show("Tie"); + SetInputEnabled(false); } else {