Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void FUnLuaEditorToolbar::CreateLuaTemplate_Executed()
{
auto TemplateClassName = TemplateClass->GetName().EndsWith("_C") ? TemplateClass->GetName().LeftChop(2) : TemplateClass->GetName();
auto RelativeFilePath = "Config/LuaTemplates" / TemplateClassName + ".lua";
auto FullFilePath = FPaths::ProjectConfigDir() / RelativeFilePath;
auto FullFilePath = FPaths::ProjectDir() / RelativeFilePath;
if (!FPaths::FileExists(FullFilePath))
FullFilePath = BaseDir / RelativeFilePath;

Expand Down