diff options
Diffstat (limited to 'src/crepe/system/RenderSystem.cpp')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index 7d6a31b..578a4c0 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -87,7 +87,7 @@ void RenderSystem::render_text(){ for (const Text & text : texts) { if (!text.active) continue; - const Font & res = resource_manager.get<Font>(text.font); + const Font & res = resource_manager.get<Font>(text.font.value()); ctx.draw_text(text, res); } |