Skip to content

Commit

Permalink
Fix sending current research to team mates
Browse files Browse the repository at this point in the history
Closes #1682.

(cherry picked from commit 415ab90)
  • Loading branch information
lmoureaux committed Jan 14, 2023
1 parent 7be2589 commit cd6a801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/techtools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void send_research_info(const struct research *presearch,
// Team mates always share what they see.
player_list_iterate(team, team_mate)
{
if (presearch == research_get(pplayer)) {
if (presearch == research_get(team_mate)) {
full = true;
break;
}
Expand Down

0 comments on commit cd6a801

Please sign in to comment.