Ace Cooper
Chieftain
mod crashes my Civ on "Inland Sea" type map
Thank you for reporting this.
I will look into it and get back to you.
Maybe has something to do with the non-wrapped borders of an Inland Sea map type.
UPD. The crash happened when my mod tried to clear the array LensLayers.HEX_COLORING_GREAT_PEOPLE, which I rigged to show a white border around the next city plot. On the first turn the pCityCulture:GetNextPlot() returns -1 and is added into the array, which is OK for wrapped maps (e.g. Pangea), but causes a crash on non-wrapped maps (e.g. Inland Sea). Simply fixed it by adding a condition to check that pNextPlotID > 0 before creating a white border Lense. I assume this condition will work for all maps.
Last edited: