Check/print tick skip counter in desync and random logging.

This commit is contained in:
Jonathan G Rennison
2015-09-27 23:12:00 +01:00
parent 45d060f46f
commit f03cd98d04
7 changed files with 8 additions and 8 deletions

View File

@@ -874,7 +874,7 @@ void NetworkGameLoop()
if (_network_server) {
/* Log the sync state to check for in-syncedness of replays. */
if (_date_fract == 0) {
if (_date_fract == 0 && _tick_skip_counter == 0) {
/* We don't want to log multiple times if paused. */
static Date last_log;
if (last_log != _date) {