mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 19:45:22 +02:00
queued_commands must be a std::deque. RunCommandQueues needs to push packet on front, not back
This commit is contained in:
@@ -501,7 +501,7 @@ public:
|
||||
std::queue<BufferedPacket> queued_reliables;
|
||||
|
||||
//queue commands prior splitting to packets
|
||||
std::queue<ConnectionCommand> queued_commands;
|
||||
std::deque<ConnectionCommand> queued_commands;
|
||||
|
||||
IncomingSplitBuffer incoming_splits;
|
||||
|
||||
|
Reference in New Issue
Block a user