From 81860640d0cb82d0663d88f9e59cdd1cac1313be Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Sun, 31 Mar 2024 12:11:50 -0400 Subject: [PATCH] Fix: NETsetNoSendOverNetwork should be called on game queues when !NetPlay.bComms This prevents net messages from being endlessly buffered in modes that don't send them over the network (i.e. campaign, skirmish, etc). --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 986035f4263..2d2381a3ebb 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1738,7 +1738,7 @@ bool stageTwoInitialise() { NETinitQueue(NETgameQueue(i)); - if (!myResponsibility(i)) + if (!myResponsibility(i) || !NetPlay.bComms) { NETsetNoSendOverNetwork(NETgameQueue(i)); }