CyberChrist
You caught my attention
There seems to be a consistant error in both official and modded versions of the CvTechChooser.py file (which generates the graphical presentation of the techtree).
When more than 1 promotion becomes available with the same tech CvTechChooser.py will make room for all the promotions under the tech, but it will ONLY show the icon for the last promotion.
Obviously this will only be noticeable in mods/scenarios where several promotions become availabe with the same tech (I discovered this bug while testing the excellent Fall from Heaven II mod).
Buggy code (in "Assets\Python\Screens\CvTechChooser.py"):
Change the following line(fix in bold):
szPromotionButton = "Promotion" + str(j)
I wonder if BtS also have this (minor) error?

When more than 1 promotion becomes available with the same tech CvTechChooser.py will make room for all the promotions under the tech, but it will ONLY show the icon for the last promotion.
Obviously this will only be noticeable in mods/scenarios where several promotions become availabe with the same tech (I discovered this bug while testing the excellent Fall from Heaven II mod).
Buggy code (in "Assets\Python\Screens\CvTechChooser.py"):
Code:
# Promotion Info
for j in range( gc.getNumPromotionInfos() ):
if ( gc.getPromotionInfo(j).getTechPrereq() == i ):
szPromotionButton = "Promotion" + str(i)
screen.addDDSGFCAt( szPromotionButton, "TechList", gc.getPromotionInfo(j).getButton(), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_PEDIA_JUMP_TO_PROMOTION, j, -1, False )
fX += X_INCREMENT
Change the following line(fix in bold):
szPromotionButton = "Promotion" + str(j)
I wonder if BtS also have this (minor) error?

