Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 4e44af2

Browse files
bug fix meta data loading
1 parent ef2ef3c commit 4e44af2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/OFS_Project.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ bool OFS_Project::Import(const std::string& path) noexcept
295295
LoadScripts(basePath.u8string());
296296
}
297297
if(Loaded && !Funscripts.empty()) {
298-
Metadata = Funscripts.front()->LocalMetadata;
298+
if(!Funscripts.front()->LocalMetadata.title.empty()) {
299+
Metadata = Funscripts.front()->LocalMetadata;
300+
}
299301
}
300302
return Loaded;
301303
}

0 commit comments

Comments
 (0)