1
0
mirror of https://github.com/ynerant/Level-Editor.git synced 2025-02-11 13:21:16 +00:00

Changé format de fichier de map : *.gworld à *.gmap

This commit is contained in:
galaxyoyo 2015-01-09 19:46:48 +01:00
parent dd3549e558
commit 916417dec8

View File

@ -69,9 +69,9 @@ public class EditorAPI
file = jfc.getSelectedFile(); file = jfc.getSelectedFile();
} }
if (!file.getName().toLowerCase().endsWith(".gworld") && !file.getName().toLowerCase().endsWith(".dat")) if (!file.getName().toLowerCase().endsWith(".gmap") && !file.getName().toLowerCase().endsWith(".dat"))
{ {
file = new File(file.getParentFile(), file.getName() + ".gworld"); file = new File(file.getParentFile(), file.getName() + ".gmap");
} }
save(file, map); save(file, map);