Update generate_world_map.bin.py

corrected typo in print();
This commit is contained in:
BehleZebub 2022-10-28 17:38:00 +02:00 committed by GitHub
parent b8d98e4f45
commit c9657bc92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ pix = im.load()
# Write as unsigned short (2 bytes) as little endian
outfile.write(struct.pack('<H', im.size[0]))
outfile.write(struct.pack('<H', im.size[1]))
print("image \t size[0]=" + str(im.size[0]) + "\tsize[1]=" + str(im.size[1]) *"pixels\n");
print("image \t size[0]=" + str(im.size[0]) + "\tsize[1]=" + str(im.size[1]) + "pixels\n");
print("Generating: \t" + outfile.name + "\n from\t\t" + im.filename + "\n please wait...");
for y in range (0, im.size[1]):