resources fix

This commit is contained in:
2025-12-10 19:42:38 +01:00
parent 108caf7ffd
commit b9791589f2

View File

@ -610,11 +610,11 @@ int main(int, char **)
// Primary UI font (Orbitron) used for major UI text: buttons, loading, HUD
FontAtlas pixelFont;
pixelFont.init("assets/fonts/Orbitron.ttf", 22);
pixelFont.init(AssetPath::resolveWithBase("assets/fonts/Orbitron.ttf"), 22);
// Secondary font (Exo2) used for longer descriptions, settings, credits
FontAtlas font;
font.init("assets/fonts/Exo2.ttf", 20);
font.init(AssetPath::resolveWithBase("assets/fonts/Exo2.ttf"), 20);
ScoreManager scores;
std::atomic<bool> scoresLoadComplete{false};