UI#loadColors moved earlier in init

This commit is contained in:
Anuken
2024-02-10 17:20:35 -05:00
parent 4e8f54c06a
commit 1542f7c28e
3 changed files with 2 additions and 3 deletions
+1
View File
@@ -69,6 +69,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
return (Float.isNaN(result) || Float.isInfinite(result)) ? 1f : Mathf.clamp(result, 0.0001f, 60f / 10f);
});
UI.loadColors();
batch = new SortedSpriteBatch();
assets = new AssetManager();
assets.setLoader(Texture.class, "." + mapExtension, new MapPreviewLoader());