Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Aug 9, 2024
1 parent 23c55d2 commit f334705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/python-wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def main():
while game_state:
game_state(pygame.event.get())
pygame.display.update()
await asyncio.sleep(0)
await asyncio.sleep(0) # do not forget that one, it must be called on every frame

# Closing the game (not strictly required)
pygame.quit()
Expand Down

0 comments on commit f334705

Please sign in to comment.