feat: Adds ping listener on port 12000 for server list (#1485)
This commit is contained in:
parent
15227a53ec
commit
60a6796903
4 changed files with 186 additions and 6 deletions
|
|
@ -515,6 +515,7 @@ public static class Core
|
|||
AssemblyHandler.Invoke("Initialize");
|
||||
|
||||
TcpServer.Start();
|
||||
PingServer.Start();
|
||||
EventSink.InvokeServerStarted();
|
||||
_firstTick = TickCount;
|
||||
RunEventLoop();
|
||||
|
|
@ -548,6 +549,7 @@ public static class Core
|
|||
// Handle networking
|
||||
TcpServer.Slice();
|
||||
NetState.Slice();
|
||||
PingServer.Slice();
|
||||
|
||||
// Execute captured post-await methods (like Timer.Pause)
|
||||
LoopContext.ExecuteTasks();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue