mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:43:27 +00:00
Bugfix: transport ships were not working on compact-maps because the shore & water was not processed on the downscaled map binaries
This commit is contained in:
@@ -108,8 +108,11 @@ func GenerateMap(args GeneratorArgs) (MapResult, error) {
|
||||
processWater(terrain, args.RemoveSmall)
|
||||
|
||||
terrain4x := createMiniMap(terrain)
|
||||
processWater(terrain4x, false)
|
||||
|
||||
terrain16x := createMiniMap(terrain4x)
|
||||
|
||||
processWater(terrain16x, false)
|
||||
|
||||
thumb := createMapThumbnail(terrain4x, 0.5)
|
||||
webp, err := convertToWebP(ThumbData{
|
||||
Data: thumb.Pix,
|
||||
|
||||
Reference in New Issue
Block a user