From 49badd1665983450497c218678547ea97e364e4c Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 19 Aug 2018 19:41:29 -0400 Subject: [PATCH] updateTS: silently ignore messages with ts = 0 Closes #625. --- classes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 634032e..8c5ea91 100644 --- a/classes.py +++ b/classes.py @@ -1473,7 +1473,8 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore): elif (their_ts < our_ts): if their_ts < 750000: - log.warning('(%s) Possible desync? Not setting bogus TS %s on channel %s', self.name, their_ts, channel) + if their_ts != 0: # Sometimes unreal sends SJOIN with 0, don't warn for those + log.warning('(%s) Possible desync? Not setting bogus TS %s on channel %s', self.name, their_ts, channel) else: log.debug('(%s) Resetting channel TS of %s from %s to %s (remote has lower TS)', self.name, channel, our_ts, their_ts)