Submodule update for pressure plate, fixed connections after max slot is reached
This commit is contained in:
parent
c73003fc67
commit
24f75069e8
2 changed files with 7 additions and 1 deletions
|
|
@ -167,6 +167,12 @@ namespace TShockAPI.Sockets
|
|||
}
|
||||
}
|
||||
this._listener.Stop();
|
||||
|
||||
// currently vanilla will stop listening when the slots are full, however it appears that this Netplay.IsListening
|
||||
// flag is still set, making the server loop beleive it's still listening when it's actually not.
|
||||
// clearing this flag when we actually have stopped will allow the ServerLoop to start listening again when
|
||||
// there are enough slots available.
|
||||
Netplay.IsListening = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 9e87b3a33f0cb97b4e0a72e2694c3f69bb55b63e
|
||||
Subproject commit 5fee7b24fa6057631114c23c6c01c4a35f3f1bc7
|
||||
Loading…
Add table
Add a link
Reference in a new issue