Write tile coord if it is unchanged not the file path to the base tile.

This commit is contained in:
Sascha L. Teichmann 2016-05-08 17:43:48 +02:00
parent 398c52f8a5
commit fad16a58e8

View File

@ -169,7 +169,7 @@ func (btc *BaseTileCreator) CreateTile(x, z int16, i, j int) (bool, error) {
return true, SaveAsPNGAtomic(path, image) return true, SaveAsPNGAtomic(path, image)
} }
log.Printf("File %s does not change.\n", path) log.Printf("(%d, %d) is unchanged.\n", x, z)
return false, nil return false, nil
} }