- fix WaitForTextEntry for web

This commit is contained in:
Ilya Shurumov 2021-07-09 21:18:12 +06:00 committed by InspirationByte
parent 35b21611de
commit 6695633918

View File

@ -660,6 +660,10 @@ char* WaitForTextEntry(char* textBufPtr, int maxLength)
}
DrawGame();
#ifdef __EMSCRIPTEN__
emscripten_sleep(0);
#endif
} while (true);
#if !USE_PAD_INPUT