I've always found it peculiar (just another word for annoying) that after a game - when you go to the Info Screen that comes up after the replay, and choose the Statistics screen - you get to see your portrait, but when you choose another leader you don't see their face.
I don't know if this has been known for a long time here (I did search, but found nothing), so I create this thread to inform you where you need to change one small thing. If you want the QoL of seeing the pleading face of Catherine after you've crushed her under the feet of your mighty Greek armies!
First: The result:
In the file CvInfoScreen.py, around line 2670-2680 somewhere...
BAD CODE:
# Leaderhead graphic
player = gc.getPlayer(gc.getPlayer(gc.getGame().getActivePlayer())
GOOD CODE:
# Leaderhead graphic
player = gc.getPlayer(self.iActivePlayer)
I have no idea WHY this works. But it does. I don't know anything about Python myself. But I can read. I can also CTRL+C and CTRL+V, as well as typing what I've just seen. That is apparantly enough to get by. At least for a little while...
I don't know if this has been known for a long time here (I did search, but found nothing), so I create this thread to inform you where you need to change one small thing. If you want the QoL of seeing the pleading face of Catherine after you've crushed her under the feet of your mighty Greek armies!
First: The result:
Spoiler Same game, two portraits :
Spoiler CvInfoScreen.py :
In the file CvInfoScreen.py, around line 2670-2680 somewhere...
BAD CODE:
# Leaderhead graphic
player = gc.getPlayer(gc.getPlayer(gc.getGame().getActivePlayer())
GOOD CODE:
# Leaderhead graphic
player = gc.getPlayer(self.iActivePlayer)
I have no idea WHY this works. But it does. I don't know anything about Python myself. But I can read. I can also CTRL+C and CTRL+V, as well as typing what I've just seen. That is apparantly enough to get by. At least for a little while...
