Description of issue
Crash when parsing partial lines in map/definition.csv
Game Version
1.6.2-beta
Enabled DLC
Do you have mods enabled?
No
Description
When parsing map/definition.csv, all lines are skipped that contain less than 3 semicolon-separated items. Then 4 items get read unconditionally (province id, red, green, blue) from the line.
This causes a crash when a line contains exactly 3 values.
Steps to Reproduce
Change second line in map/definition.csv to "1;230;81"
Upload Attachment
Crash when parsing partial lines in map/definition.csv
Game Version
1.6.2-beta
Enabled DLC
Do you have mods enabled?
No
Description
When parsing map/definition.csv, all lines are skipped that contain less than 3 semicolon-separated items. Then 4 items get read unconditionally (province id, red, green, blue) from the line.
This causes a crash when a line contains exactly 3 values.
Steps to Reproduce
Change second line in map/definition.csv to "1;230;81"
Upload Attachment
Last edited:
Upvote
0