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:
@ -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()));
|
||||
|
Reference in New Issue
Block a user