reduce waiting time

This commit is contained in:
snsd0805 2020-06-29 23:10:09 +08:00
parent e0af3a6e33
commit 213ac265fa

View File

@ -124,7 +124,7 @@ class Room:
def game(self): def game(self):
mainSocket = random.choice(self.sockList) mainSocket = random.choice(self.sockList)
self.problem = self.getProblem() self.problem = self.getProblem()
time.sleep(4) time.sleep(2)
#print("GAME SEND PROBLEM") #print("GAME SEND PROBLEM")
for clientSock in self.sockList: for clientSock in self.sockList:
if clientSock == mainSocket: if clientSock == mainSocket: