diff options
-rw-r--r-- | src/exporter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exporter.py b/src/exporter.py index d396eb2..98307d4 100644 --- a/src/exporter.py +++ b/src/exporter.py @@ -286,7 +286,8 @@ class KPMapExporter: w, h = doodad.size data += struct.pack('>fffffii', x, y, w, h, doodad.angle, 0, len(doodad.animations)) - is_rgba8 = (doodad.source[0].startswith('Cloud')) + is_rgba8 = doodad.source[0].startswith('Cloud') or \ + doodad.source[0].startswith('Tiling_Cloud') texInfo.add((doodad.source[0], doodad.source[1].height() * doodad.source[1].width() * (4 if is_rgba8 else 2))) texture = doodad.source[1] |