aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 13:36:17 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 13:36:17 +0100
commit0c02511f6a64766174cb0db3beb4cc159d3efdf7 (patch)
tree1ae713cfaad559aaae623f6e38639c2c10b1a158 /src/crepe/system
parent24578c9afb61ae65b300dd7fb645220e133089be (diff)
merging wouter
Diffstat (limited to 'src/crepe/system')
-rw-r--r--src/crepe/system/RenderSystem.cpp2
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);
}