From b9791589f21459098abd7e9b6a7f4abf90b7e73d Mon Sep 17 00:00:00 2001 From: Gregor Klevze Date: Wed, 10 Dec 2025 19:42:38 +0100 Subject: [PATCH] resources fix --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index dfa928d..4b7250f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 scoresLoadComplete{false};