1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

Added Configuration manager class

This commit is contained in:
RaidMax
2017-06-12 19:24:12 -05:00
parent 5d1c9bd218
commit 45cb985701
8 changed files with 68 additions and 68 deletions

View File

@ -222,6 +222,7 @@ namespace Votemap_Plugin
/// <param name="S"></param>
public async Task OnTickAsync(Server S)
{
return;
var serverVotes = getServerVotes(S.GetPort());
if (serverVotes != null)
@ -280,6 +281,7 @@ namespace Votemap_Plugin
public async Task OnEventAsync(Event E, Server S)
{
return;
if (E.Type == Event.GType.Start)
{
serverVotingList.Add(new ServerVoting(S.GetPort()));