mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-03-04 06:35:02 +00:00
Update CS2-SimpleAdmin.cs
This commit is contained in:
@@ -1193,6 +1193,8 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
|||||||
if (command.GetArg(1) == null || command.GetArg(1).Length < 0 || command.ArgCount < 2)
|
if (command.GetArg(1) == null || command.GetArg(1).Length < 0 || command.ArgCount < 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
answers.Clear();
|
||||||
|
|
||||||
string question = command.GetArg(1);
|
string question = command.GetArg(1);
|
||||||
int answersCount = command.ArgCount;
|
int answersCount = command.ArgCount;
|
||||||
|
|
||||||
@@ -1229,7 +1231,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
|||||||
sb.Append(_localizer["sa_admin_vote_message_results_answer", kvp.Key, kvp.Value]);
|
sb.Append(_localizer["sa_admin_vote_message_results_answer", kvp.Key, kvp.Value]);
|
||||||
Server.PrintToChatAll(sb.ToString());
|
Server.PrintToChatAll(sb.ToString());
|
||||||
}
|
}
|
||||||
|
answers.Clear();
|
||||||
VoteInProgress = false;
|
VoteInProgress = false;
|
||||||
|
|
||||||
}, CounterStrikeSharp.API.Modules.Timers.TimerFlags.STOP_ON_MAPCHANGE);
|
}, CounterStrikeSharp.API.Modules.Timers.TimerFlags.STOP_ON_MAPCHANGE);
|
||||||
|
|||||||
Reference in New Issue
Block a user