Skip to content

Commit 3474514

Browse files
authored
Populate display_name for autogenerated manifests (#83)
1 parent 6eca1df commit 3474514

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

librecomp/src/mod_manifest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ recomp::mods::ModOpenError recomp::mods::ModContext::open_mod(const std::filesys
458458
}
459459

460460
manifest.mod_id = mod_path.stem().string();
461+
manifest.display_name = manifest.mod_id;
462+
manifest.description.clear();
463+
manifest.short_description.clear();
461464
manifest.authors = { "Unknown" };
462465

463466
manifest.minimum_recomp_version.major = 0;

0 commit comments

Comments
 (0)