Network: Include extra info in PACKET_CLIENT_ERROR packets

Log more details in server when PACKET_CLIENT_ERROR received
This commit is contained in:
Jonathan G Rennison
2021-05-14 20:27:13 +01:00
parent e04218b528
commit f3e0507c54
5 changed files with 15 additions and 5 deletions

View File

@@ -548,6 +548,7 @@ public:
uint32 last_frame_server; ///< Last frame the server has executed
CommandQueue incoming_queue; ///< The command-queue awaiting handling
std::chrono::steady_clock::time_point last_packet; ///< Time we received the last frame.
PacketGameType last_pkt_type;///< Last received packet type
NetworkRecvStatus CloseConnection(bool error = true) override;