mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
Fixed the ban loop bug (client goes into zombie state if immediately kicked upon joining, and won't disconnect until a timeout)
This commit is contained in:
@ -5,7 +5,6 @@ using SharedLibrary;
|
||||
using SharedLibrary.Network;
|
||||
using SharedLibrary.Interfaces;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
|
||||
namespace Votemap_Plugin
|
||||
{
|
||||
@ -223,7 +222,6 @@ namespace Votemap_Plugin
|
||||
public async Task OnTickAsync(Server S)
|
||||
{
|
||||
var serverVotes = getServerVotes(S.getPort());
|
||||
Thread.Sleep(500);
|
||||
|
||||
if (serverVotes != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user