mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Update CS2-SimpleAdmin.cs
This commit is contained in:
parent
efd9ab5c22
commit
d677551463
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue