Opened 3 years ago

Closed 3 years ago

#5915 closed defect (fixed)

GUI errors out when captured buildings with paired techs of a different civ.

Reported by: Freagarach Owned by: Freagarach
Priority: Should Have Milestone: Alpha 24
Component: UI – In-game Keywords:
Cc: Patch: Phab:D2171

Description

Change History (1)

comment:1 by Freagarach, 3 years ago

Resolution: fixed
Status: assignedclosed

In 24621:

Avoid GUI errors for captured structures with paired tech of different civ.

If there is a building that has a paired tech researchable, where the two techs have a civ requirement but the parent pair tech doesn't, then the selection panels will throw errors.
This has happened with r18653, https://wildfiregames.com/forum/index.php?/topic/24732-de-alpha-24/page/2/ and other incidences.
Now when both paired techs have an unmet civ dependency they are not shown, when one of them hasn't, it is shown.

Fixes: #5915
Original patch by: @elexis
Changes by: @Freagarach
Differential revision: D2171
Comment by: @Imarok

Note: See TracTickets for help on using tickets.