diff --git a/sources/Services/Connection/ConnectionService.uc b/sources/Services/Connection/ConnectionService.uc index 2514350..1018ee6 100644 --- a/sources/Services/Connection/ConnectionService.uc +++ b/sources/Services/Connection/ConnectionService.uc @@ -146,8 +146,12 @@ public final function bool RegisterConnection(PlayerController player) return true; } -public final function array GetActiveConnections() +public final function array GetActiveConnections( + optional bool removeBroken) { + if (removeBroken) { + RemoveBrokenConnections(); + } return activeConnections; }