summaryrefslogtreecommitdiff
path: root/source/net_chan.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/net_chan.c')
-rw-r--r--source/net_chan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/net_chan.c b/source/net_chan.c
index 8375a58..9c9d043 100644
--- a/source/net_chan.c
+++ b/source/net_chan.c
@@ -402,6 +402,7 @@ static netchan_t *NetchanOld_Setup( netsrc_t sock, const netadr_t *adr,
netchan->qport = qport;
netchan->maxpacketlen = maxpacketlen;
netchan->last_received = com_localTime;
+ netchan->last_sent = com_localTime;
netchan->incoming_sequence = 0;
netchan->outgoing_sequence = 1;
@@ -799,6 +800,7 @@ static netchan_t *NetchanNew_Setup( netsrc_t sock, const netadr_t *adr,
netchan->qport = qport;
netchan->maxpacketlen = maxpacketlen;
netchan->last_received = com_localTime;
+ netchan->last_sent = com_localTime;
netchan->incoming_sequence = 0;
netchan->outgoing_sequence = 1;