summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mapcat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mapcat.c b/src/mapcat.c
index 12a464c..54bed98 100644
--- a/src/mapcat.c
+++ b/src/mapcat.c
@@ -672,7 +672,11 @@ int map_postprocess(map_t *map, bool filter_team_ents)
size_t value_len;
if (strcmp(key->key, "target") &&
- strcmp(key->key, "targetname"))
+ strcmp(key->key, "targetname") &&
+ strcmp(key->key, "team"))
+ continue;
+
+ if (!strncmp(key->value, "global_", 7))
continue;
value_len = strlen(key->value);