Minor changes / fixes

This commit is contained in:
Jackzie 2021-01-06 19:35:18 -06:00
parent 6b80a9ebc6
commit 162748a055
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
4 changed files with 460 additions and 5 deletions

View file

@ -139,7 +139,7 @@ public Action Command_ResetUser(int client, int args) {
}
for (int i = 0; i < target_count; i++)
{
if(IsClientConnected(i) && IsClientInGame(i) && IsPlayerAlive(i) && GetClientTeam(i) == 2) {
if(IsClientConnected(target_list[i]) && IsClientInGame(target_list[i]) && IsPlayerAlive(target_list[i]) && GetClientTeam(target_list[i]) == 2) {
ResetClient(target_list[i], true);
ShowActivity(client, "reset troll effects on \"%N\". ", target_list[i]);
}