From 58bbed722a33eb5068de929a4cba8252b99d8cb4 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 27 Dec 2021 17:00:43 +0900 Subject: [PATCH] [qtv] Handle time a little more correctly realtime needs to be set before any other part of qtv runs. Fixes the instant timeouts. --- qtv/source/qtv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtv/source/qtv.c b/qtv/source/qtv.c index e00bbaf31..7d720ce0a 100644 --- a/qtv/source/qtv.c +++ b/qtv/source/qtv.c @@ -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 ();