1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

Prefer C++ in case of conflict and pass title rather than internal name

This commit is contained in:
Xeno333 2025-06-10 21:00:21 -05:00
parent c887425ac4
commit ea0ae5b62b
8 changed files with 93 additions and 20 deletions

View file

@ -88,6 +88,9 @@ bool parseModContents(ModSpec &spec)
else
spec.deprecation_msgs.push_back("Mods not having a mod.conf file with the name is deprecated.");
if (info.exists("title"))
spec.title = info.get("title");
if (info.exists("author"))
spec.author = info.get("author");