Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0df6d0

Browse files
Fixed bug(s)
1 parent 997bd89 commit a0df6d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

games.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def get(self, path, gameno):
117117
"content": self.submits[-1]["word"]
118118
}
119119
elif path == "/thanks": # /thanks
120-
self.drawingProgress = 0
120+
self.drawingProgress += 1
121+
if self.drawingProgress == 4: self.drawingProgress = 0
121122
return {
122123
"status": 200,
123124
"headers": {

0 commit comments

Comments
 (0)