From 9b6d667a54c58ba6bb75d8ebe3d5df832ffe8610 Mon Sep 17 00:00:00 2001 From: dP Date: Sun, 17 Jan 2021 19:29:46 +0300 Subject: [PATCH] Show more info if tried to execute packet in a past --- src/network/network_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index 5d36a39b96..0880c53efc 100644 --- a/src/network/network_command.cpp +++ b/src/network/network_command.cpp @@ -203,7 +203,7 @@ void NetworkExecuteLocalCommandQueue() if (_frame_counter > cp->frame) { /* If we reach here, it means for whatever reason, we've already executed * past the command we need to execute. */ - error("[net] Trying to execute a packet in the past!"); + error("[net] Trying to execute a packet in the past! (frame=%u cmd_frame=%u tile=%u p1=%u p2=%u cmd=%u)", (uint)_frame_counter, (uint)cp->frame, (uint)cp->tile, (uint)cp->p1, (uint)cp->p2, (uint)cp->cmd); } /* We can execute this command */