web:: made sure that timetowait=0 in

This commit is contained in:
Zeno Rogue 2018-09-06 00:48:11 +02:00
parent 9f9e816c11
commit f8d2b3308b
1 changed files with 4 additions and 0 deletions

View File

@ -508,6 +508,10 @@ void mainloopiter() {
if(cwt.mirrored) playerV = playerV * Mirror;
}
#if ISWEB
timetowait = 0;
#endif
if(timetowait > 0)
SDL_Delay(timetowait);
else {