Closed NoviceCoder2000 closed 2 years ago
If anyone wants to open a PR to fix this, the issue is on line 58 of VictoryManager.kt
Changing civInfo.gameInfo.ruleSet.victories.key
to civInfo.gameInfo.gameParameters.victoryTypes
fixes this bug by only looking at the victory types that were enabled during game setup. However, this specific fix would cause the otherwise-harmless bug described in #7156 to cause crashes on any current or future games where someone has enabled a modded victory condition then unloaded the mod without disabling that modded victory condition. I tried to fix #7156 but was running into comodification issues and I'm putting off looking further into it until after I finish the modable game speeds PR.
Thank you for confirming my ideas. The PR is already there - #7197.
Platform Android OS
Version 4.1.8
Describe the bug As the title already suggests the game ends automatically even if you didn't turn on the time victory option, making games on longer game speed impossible to properly finish.
To Reproduce Steps to reproduce the behavior:
Additional context This is a game of mine of Korea at Turn 499. Modded, yes although I don't think these mods used were directly the cause of the problem.
Korea - Turn 499.txt