This seems to work fine at speed 1.0, but if I increase the game speed, the window still has too little time to build up. Maybe using sleep(game_speed) helps? Also, you can remove sleep(500) three lines above. I think that was enough time to build up the old buildings statistics menu.
This seems to work fine at speed 1.0, but if I increase the game speed, the window still has too little time to build up. Maybe using sleep(game_speed) helps? Also, you can remove sleep(500) three lines above. I think that was enough time to build up the old buildings statistics menu.