mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- fix WaitForTextEntry for web
This commit is contained in:
parent
35b21611de
commit
6695633918
@ -660,6 +660,10 @@ char* WaitForTextEntry(char* textBufPtr, int maxLength)
|
||||
}
|
||||
|
||||
DrawGame();
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
emscripten_sleep(0);
|
||||
#endif
|
||||
} while (true);
|
||||
|
||||
#if !USE_PAD_INPUT
|
||||
|
Loading…
Reference in New Issue
Block a user