git.ucc.asn.au
/
progcomp2013.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Actually commit stuff from ages ago
[progcomp2013.git]
/
qchess
/
src
/
graphics.py
diff --git
a/qchess/src/graphics.py
b/qchess/src/graphics.py
index
041b137
..
8d95db8
100644
(file)
--- a/
qchess/src/graphics.py
+++ b/
qchess/src/graphics.py
@@
-59,7
+59,7
@@
class GraphicsThread(StoppableThread):
pygame.display.flip()
for event in pygame.event.get():
pygame.display.flip()
for event in pygame.event.get():
- if event.type == pygame.QUIT:
+ if event.type == pygame.QUIT
or (event.type == pygame.KEYDOWN and event.key == pygame.K_q)
:
if isinstance(game, GameThread):
with game.lock:
game.final_result = ""
if isinstance(game, GameThread):
with game.lock:
game.final_result = ""
UCC
git Repository :: git.ucc.asn.au