Spritesheet cleanup / Heat blocks / Editor bugfix

This commit is contained in:
Anuken
2019-02-01 21:47:44 -05:00
parent 7a072746d9
commit 59a68ee981
23 changed files with 1609 additions and 1519 deletions

View File

@@ -54,7 +54,7 @@ public class Maps implements Disposable{
/**Returns map by internal name.*/
public Map getByName(String name){
return maps.get(name.toLowerCase());
return maps.get(name);
}
/**Loads a map from the map folder and returns it. Should only be used for zone maps.
@@ -136,7 +136,7 @@ public class Maps implements Disposable{
map.texture = new Texture(MapIO.generatePixmap(MapIO.readTileData(ds, meta, true)));
}
maps.put(map.name.toLowerCase(), map);
maps.put(map.name, map);
allMaps.add(map);
}
}