From 987c4bb6b95bc384e1c27be41e195ca0f877d52b Mon Sep 17 00:00:00 2001 From: snsd0805 Date: Mon, 29 Jun 2020 22:36:06 +0800 Subject: [PATCH] Fix: change the problem when the game restart --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 2b4e1bf..223cd5d 100644 --- a/main.py +++ b/main.py @@ -123,6 +123,7 @@ class Room: def game(self): mainSocket = random.choice(self.sockList) + self.problem = self.getProblem() time.sleep(4) print("GAME SEND PROBLEM") for clientSock in self.sockList: