diff options
author | jak1 <jak1@themanaworld.org> | 2022-06-19 09:34:16 +0200 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-06-19 09:34:16 +0200 |
commit | 38fcd221d8fe03208abdafe0f01a6e54a601b71a (patch) | |
tree | 6a1ba5a5943b9dc0617e0046b39b82ba2284d53e /hercules/code/server/maps.py | |
parent | 9a351fb1abd5694bbbb7e38fcb64bb30b3fa74bb (diff) | |
download | messworld-tools-master.tar.gz messworld-tools-master.tar.bz2 messworld-tools-master.tar.xz messworld-tools-master.zip |
Diffstat (limited to 'hercules/code/server/maps.py')
-rw-r--r-- | hercules/code/server/maps.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hercules/code/server/maps.py b/hercules/code/server/maps.py index 2ef0173..5e65feb 100644 --- a/hercules/code/server/maps.py +++ b/hercules/code/server/maps.py @@ -10,14 +10,14 @@ import zlib from code.fileutils import readMapName, readInt16, readInt32, readData, makeDir def listMapCache(f, mapsCount): - print "Known maps:" - print "{0:12} {1:<4}x {2:<4} {3:<10}".format("Map name", "sx", "sy", "compressed size") + print("Known maps:") + print("{0:12} {1:<4}x {2:<4} {3:<10}".format("Map name", "sx", "sy", "compressed size")) for i in xrange(0, mapsCount): name = readMapName(f) sx = readInt16(f) sy = readInt16(f) sz = readInt32(f) - print "{0:12} {1:<4}x {2:<4} {3:<10}".format(name, sx, sy, sz) + print("{0:12} {1:<4}x {2:<4} {3:<10}".format(name, sx, sy, sz)) f.seek(sz, 1) def extractMaps(f, mapsCount): |