CQUI-Org / cqui

Civilization 6 - Chao's Quick UI. Reduce clicks and manage your empire faster!
MIT License
318 stars 64 forks source link

Fix for InlandSea crash #576

Closed SpaceOgre closed 7 years ago

SpaceOgre commented 7 years ago

Fixes #512

It seems that calling ClearHex with -1 for plot is causing a crash toghether with InlandSeas GetMapInitData, so lets not call it with -1.

I have done some tests and I don't crash when changing settings anymore.

Also setting trim_trailing_whitespace to false in .editorconfig to prevent messy compares.

chaorace commented 7 years ago

@SpaceOgre Good job tracking down the source of this issue! By the way, I plan on doing a styling pass today which should resolve the messy diffs, I'd like to keep trim_trailing_whitespace as it is