Fix networking being completely bamboozled

This commit is contained in:
Evil Factory
2026-02-10 20:26:46 -03:00
parent 9dde5cac7d
commit 6bbe5be5e6
4 changed files with 5 additions and 7 deletions
@@ -604,8 +604,6 @@ namespace Barotrauma.Networking
{
ServerPacketHeader header = (ServerPacketHeader)inc.ReadByte();
GameMain.LuaCs.EventService.PublishEvent<IEventServerRawNetMessageReceived>(p => p.OnReceivedServerNetMessage(inc, header));
if (roundInitStatus == RoundInitStatus.WaitingForStartGameFinalize
&& header is not (
ServerPacketHeader.STARTGAMEFINALIZE