Skip to content

Commit 6695633

Browse files
committed
- fix WaitForTextEntry for web
1 parent 35b2161 commit 6695633

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src_rebuild/Game/C/pause.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,10 @@ char* WaitForTextEntry(char* textBufPtr, int maxLength)
660660
}
661661

662662
DrawGame();
663+
664+
#ifdef __EMSCRIPTEN__
665+
emscripten_sleep(0);
666+
#endif
663667
} while (true);
664668

665669
#if !USE_PAD_INPUT

0 commit comments

Comments
 (0)