mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
Added AsyncStatus class to keep track of the timing of each update on servers
This commit is contained in:
@ -5,6 +5,7 @@ using SharedLibrary;
|
||||
using SharedLibrary.Network;
|
||||
using SharedLibrary.Interfaces;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
|
||||
namespace Votemap_Plugin
|
||||
{
|
||||
@ -222,6 +223,7 @@ 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