Fixed receive queue being given the wrong net message, causing the rest of the ReadIds message to be read incorrectly

This commit is contained in:
EvilFactory
2023-07-02 16:13:36 -03:00
parent c9c6ca410b
commit 90e2105bc8

View File

@@ -133,7 +133,7 @@ namespace Barotrauma
{
if (netReceives.ContainsKey(name))
{
netReceives[name](netMessage, null);
netReceives[name](queueMessage, null);
}
}
}