From 964c9ae835fabd3920f4ec80235fa3eadbbcc937 Mon Sep 17 00:00:00 2001 From: BotoX Date: Sat, 26 Nov 2016 23:28:12 +0100 Subject: [PATCH] Fix @spec not targeting clients in unassigned team. --- extensions/sdktools/extension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sdktools/extension.cpp b/extensions/sdktools/extension.cpp index 5be699f9..68c0c23f 100644 --- a/extensions/sdktools/extension.cpp +++ b/extensions/sdktools/extension.cpp @@ -512,7 +512,7 @@ bool SDKTools::ProcessCommandTarget(cmd_target_info_t *info) IPlayerInfo *plinfo = player->GetPlayerInfo(); if (plinfo == NULL) continue; - if (plinfo->GetTeamIndex() == 1 && + if ((plinfo->GetTeamIndex() == 0 || plinfo->GetTeamIndex() == 1) && playerhelpers->FilterCommandTarget(pAdmin, player, info->flags) == COMMAND_TARGET_VALID) {