From 36f941aa1cdea5faeec20a0dc793e0538ccd6d15 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 17 Dec 2024 20:47:14 +0100 Subject: implemented feedback --- src/crepe/system/RenderSystem.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/crepe/system/RenderSystem.cpp') diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index 4082591..bf2bfd3 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -87,7 +87,6 @@ void RenderSystem::render_text() { if (!text.active) continue; if (!text.font.has_value()) text.font.emplace(ctx.get_font_from_name(text.font_family)); - if (!text.font.has_value()) continue; const Font & font = resource_manager.get(text.font.value()); const auto & transform -- cgit v1.2.3