This commit is contained in:
Anuken
2020-04-22 15:19:39 -04:00
parent d154361e75
commit 9beb23b0e4
4 changed files with 40 additions and 53 deletions

View File

@@ -45,7 +45,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, 60f / 10f);
});
batch = new SpriteBatch();
batch = new SortedSpriteBatch();
assets = new AssetManager();
assets.setLoader(Texture.class, "." + mapExtension, new MapPreviewLoader());