Skip to content

Commit f334705

Browse files
authored
Update README.md
1 parent 23c55d2 commit f334705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiki/python-wasm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def main():
4848
while game_state:
4949
game_state(pygame.event.get())
5050
pygame.display.update()
51-
await asyncio.sleep(0)
51+
await asyncio.sleep(0) # do not forget that one, it must be called on every frame
5252

5353
# Closing the game (not strictly required)
5454
pygame.quit()

0 commit comments

Comments
 (0)