Fix: change the problem when the game restart
This commit is contained in:
parent
7522df99f4
commit
987c4bb6b9
1
main.py
1
main.py
@ -123,6 +123,7 @@ class Room:
|
|||||||
|
|
||||||
def game(self):
|
def game(self):
|
||||||
mainSocket = random.choice(self.sockList)
|
mainSocket = random.choice(self.sockList)
|
||||||
|
self.problem = self.getProblem()
|
||||||
time.sleep(4)
|
time.sleep(4)
|
||||||
print("GAME SEND PROBLEM")
|
print("GAME SEND PROBLEM")
|
||||||
for clientSock in self.sockList:
|
for clientSock in self.sockList:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user