diff --git a/src/p_setup.c b/src/p_setup.c index 8b58ae98f..a69f303b6 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -1818,7 +1818,7 @@ static void ParseTextmapSectorParameter(UINT32 i, const char *param, const char { if (fastcmp(val, teamnames[j][1])) { - sectors[j].teambase = j; + sectors[i].teambase = j; break; } }