Skip to content

Commit

Permalink
That didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovyerus committed Oct 9, 2017
1 parent ffbc4bc commit 7bacdfb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions modules/game_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,6 @@ async def game_loop(self):
elif mod_time > latest and not SCRIPT_OR_RECORD.match(file):
latest = mod_time

while True:
try:
output = await asyncio.wait_for(self.process.stdout.read(1), 0.5)
buffer += output
except asyncio.TimeoutError:
await self.parse_output(buffer)

buffer = b""

break

self.playing = False
end_msg = "```diff\n-The game has ended.\n"
end_kwargs = {}
Expand Down

0 comments on commit 7bacdfb

Please sign in to comment.