BUG 3.0 Multiplayer Scoreboard Fix

EmperorFool

Deity
Joined
Mar 2, 2007
Messages
9,633
Location
Mountain View, California
BUG 3.0 (and thus BAT 1.0) has a problem with multiplayer games: the scoreboard isn't shown. I've attached the fixed file. Just replace the file in Assets\Python\Screens with the one in this ZIP archive.
 
Thanks a lot,
we continued our multiplayer game yesterday and it worked perfect!

I compared the two files and wondered a bit about the changed method, because the change was in an if-block for multiplayer?!
 
The BUG Scoreboard.py module which draws the scoreboard in a customizable grid format has a function to set which players are "waiting" for the current player to take their turn. When I originally wrote the code, I thought it put a * next to the current player (the opposite of what it actually does), so I called in setActive().

At some point I must have realized I had it backwards and changed the function to isWaiting(), but I forgot to change the place where it's called in CvMainInterface.py. Since this code is multiplayer-specific, it only fails there.
 
Top Bottom