Fix: change the problem when the game restart

This commit is contained in:
snsd0805 2020-06-29 22:36:06 +08:00
parent 7522df99f4
commit 987c4bb6b9

View File

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