Ping measurement and display (console: ping)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 22:45:21 +02:00
co-authored by Claude Opus 5.5
parent 0ab5b32d08
commit 741082f237
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -263,6 +263,8 @@ public sealed class GameServer
return;
case MsgType.Ping:
// Mit Zeitstempel: sofort zurückschicken, damit der Spieler seinen Ping sieht
if (m.Payload.Length > 0 && m.Payload.Length <= 16) c.Conn.Send(MsgType.Pong, m.Payload);
return;
case MsgType.AdminListRequest: