Adapt WorldMaker plugin script to current Gridarta.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13395 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
1ac5b7ecb9
commit
02dcaf96fe
|
|
@ -35,8 +35,9 @@ boolean updateMap(File mapFile, File pictureFile) {
|
|||
return false;
|
||||
}
|
||||
print("converting " + mapFile + " to " + pictureFile + ".");
|
||||
try {
|
||||
map = mapManager.openMapFile(mapFile, false);
|
||||
if (map == null) {
|
||||
} catch (IOException ex) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue