home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fixes.
[plomrogue2-experiments]
/
new2
/
plomrogue
/
io.py
diff --git
a/new2/plomrogue/io.py
b/new2/plomrogue/io.py
index 12e74500eff1b7582d2a6a81601696e8076d4833..d740f8c42972879e9f911d21ba5edf5e6d9c1e84 100644
(file)
--- a/
new2/plomrogue/io.py
+++ b/
new2/plomrogue/io.py
@@
-14,7
+14,7
@@
class GameIO():
"""Handle commands coming through queue q, run game, send results back."""
while True:
try:
"""Handle commands coming through queue q, run game, send results back."""
while True:
try:
- command, connection_id = q.get(timeout=1)
+ command, connection_id = q.get(timeout=
0.00
1)
self.handle_input(connection_id, command)
except queue.Empty:
self.game.run_tick()
self.handle_input(connection_id, command)
except queue.Empty:
self.game.run_tick()