[qtv] Handle time a little more correctly

realtime needs to be set before any other part of qtv runs.
Fixes the instant timeouts.
This commit is contained in:
Bill Currie 2021-12-27 17:00:43 +09:00
parent 57dbd7ed72
commit 58bbed722a

View file

@ -366,10 +366,10 @@ main (int argc, const char *argv[])
Sys_Printf ("Ohayou gozaimasu\n");
while (1) {
realtime = Sys_DoubleTime () + 1;
Cbuf_Execute_Stack (qtv_cbuf);
Sys_CheckInput (1, net_socket);
realtime = Sys_DoubleTime () + 1;
qtv_read_packets ();