Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/SimpleWebTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,15 @@ public override void ServerStop()
server = null;
}

public override bool ServerDisconnect(int connectionId)
public override void ServerDisconnect(int connectionId)
{
if (!ServerActive())
{
Debug.LogError("SimpleWebServer Not Active");
return false;
return;
}

return server.KickClient(connectionId);
server.KickClient(connectionId);
}

#if MIRROR_26_0_OR_NEWER
Expand Down