{\r
if(getstati(STAT_VORE_EATEN))\r
{\r
- if(teamplay && (GetPlayerColor(pl.entnum - 1) == GetPlayerColor(player_localentnum - 1) || GetPlayerColor(pl.entnum - 1) == GetPlayerColor(spectatee_status - 1))) // same team\r
+ if(teamplay && (GetPlayerColor(getstati(STAT_VORE_EATEN) - 1) == GetPlayerColor(player_localentnum - 1) || GetPlayerColor(getstati(STAT_VORE_EATEN) - 1) == GetPlayerColor(spectatee_status - 1))) // same team\r
hl_color = stov(cvar_string("sbar_stomachboard_color2"));\r
else\r
hl_color = stov(cvar_string("sbar_stomachboard_color3"));\r