Skip to content

Commit

Permalink
Retire feature that clicking tech in Tech tab goes to fake wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexxie9952 committed Apr 15, 2024
1 parent 66484c8 commit 1075711
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions freeciv-web/src/main/webapp/javascript/tech.js
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,9 @@ function show_tech_info_dialog(event, tech_name, unit_type_id, improvement_id)
} else if (improvement_id != null) {
kind = VUT_IMPROVEMENT;
value = improvement_id;
} else if (tech_name != null) {
kind = VUT_ADVANCE;
value = tech_id_by_name(tech_name);
}
if (kind > -1 && value > -1) {
remove_active_dialog("#tech_dialog");
Expand Down

0 comments on commit 1075711

Please sign in to comment.