Skip to content

Commit

Permalink
Updates based on review/suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober authored and lmoureaux committed Sep 11, 2024
1 parent 3e8fefe commit 7a1644c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion client/views/view_research.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ void science_report::current_tech_changed(int changed_index)
if (researching_combo->hasFocus()) {
if (can_client_issue_orders()) {
dsend_packet_player_research(&client.conn, qvar.toInt());
dsend_packet_player_tech_goal(&client.conn, qvar.toInt());
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions server/techtools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -995,9 +995,6 @@ void choose_tech(struct research *research, Tech_type_id tech)
tech_researched(research);
}
} else {
if (research->researching == tech) {
return;
}
if (research_invention_state(research, tech) != TECH_PREREQS_KNOWN) {
// Can't research this.
return;
Expand Down

0 comments on commit 7a1644c

Please sign in to comment.