summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_command.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index 2869d8b8b..5e0ca4323 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -144,6 +144,7 @@ void NetworkSyncCommandQueue(NetworkClientSocket *cs)
for (CommandPacket *p = _local_command_queue; p != NULL; p = p->next) {
CommandPacket c = *p;
c.callback = 0;
+ c.next = NULL;
NetworkAddCommandQueue(c, cs);
}
}