From 52f4474cc80f2d380cf8f90cd77b42d7f261ad11 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 14 Aug 2024 15:27:01 -0700 Subject: [PATCH] legacy config exe key for targets --- src/df/core/df_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/df/core/df_core.c b/src/df/core/df_core.c index b67962a9..e9fa12f7 100644 --- a/src/df/core/df_core.c +++ b/src/df/core/df_core.c @@ -7795,7 +7795,8 @@ df_core_begin_frame(Arena *arena, DF_CmdList *cmds, F32 dt) DF_EntityKind sub_entity_kind = DF_EntityKind_Nil; for(EachEnumVal(DF_EntityKind, k2)) { - if(str8_match(child->string, df_g_entity_kind_name_lower_table[k2], StringMatchFlag_CaseInsensitive)) + if(str8_match(child->string, df_g_entity_kind_name_lower_table[k2], StringMatchFlag_CaseInsensitive) || + (k2 == DF_EntityKind_Executable && str8_match(child->string, str8_lit("exe"), StringMatchFlag_CaseInsensitive))) { Task *task = push_array(scratch.arena, Task, 1); task->next = t->next;