fix(ChatAuthenticator): Use correct type in HashSet

This commit is contained in:
MrGadget 2024-09-24 02:55:01 -04:00
parent 682bba2509
commit 1a47714ea2

View File

@ -12,7 +12,7 @@ namespace Mirror.Examples.Chat
[AddComponentMenu("")] [AddComponentMenu("")]
public class ChatAuthenticator : NetworkAuthenticator public class ChatAuthenticator : NetworkAuthenticator
{ {
readonly HashSet<NetworkConnection> connectionsPendingDisconnect = new HashSet<NetworkConnection>(); readonly HashSet<NetworkConnectionToClient> connectionsPendingDisconnect = new HashSet<NetworkConnectionToClient>();
internal static readonly HashSet<string> playerNames = new HashSet<string>(); internal static readonly HashSet<string> playerNames = new HashSet<string>();
[Header("Client Username")] [Header("Client Username")]