Gedemon / Civ6-YnAMP

Yet (not) Another Maps Pack for Civilization VI
184 stars 122 forks source link

[Bug] Not possible to start game if seeds are empty #131

Closed 1e00 closed 4 years ago

1e00 commented 4 years ago

Hi, I cannot start the game if seeds on create game panel are empty (please check screen) (This is currently working on steam version of YnAMP)

Version: latest from github:8.0.0 alpha 5.1

Runtime Error: bad argument #1 to 'math.randomseed' (integer expected, got nil) stack traceback: [C]: in function 'math.randomseed' C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:206: in function 'GetShuffledCopyOfTable' C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\871861883\Override\AdvancedSetup.lua:1398: in function 'OnStartButton' [C]: in function '(anonymous)' Lua callstack:

Lua.log 20200421220115_1

Gedemon commented 4 years ago

Thanks, I'll have a look, should be easy to fix for solo (used to seed the Lua random function), but will need a solution for MP when I'll try to make the new options available in that mode.

Gedemon commented 4 years ago

should be fixed now